$98 GRAYBYTE WORDPRESS FILE MANAGER $15

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.15.130 | ADMIN IP 216.73.216.51
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/home/bravetechrwanda/itiministry.org/plugins/give/src/TestData/Commands/

HOME
Current File : /home/bravetechrwanda/itiministry.org/plugins/give/src/TestData/Commands//DonationStatusCommand.php
<?php

namespace Give\TestData\Commands;

use WP_CLI;

/**
 * Class DonationStatusCommand
 * @package Give\TestData\Commands
 *
 * A WP-CLI command to get all donation statuses available
 */
class DonationStatusCommand
{
    /**
     * Get available donation statuses
     *
     * ## EXAMPLES
     *
     *     wp give test-donation-statuses
     *
     * @when after_wp_load
     */
    public function __invoke($args, $assocArgs)
    {
        // Get donation statuses
        $statuses = give_get_payment_statuses();

        $formatted = [];

        foreach ($statuses as $status => $name) {
            $formatted[] = [
                'Name' => $name,
                'Status' => $status,
            ];
        }

        WP_CLI\Utils\format_items(
            'table',
            $formatted,
            ['Name', 'Status']
        );
    }
}

Current_dir [ WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
25 May 2026 4.20 PM
bravetechrwanda / bravetechrwanda
0755
DonationSeedCommand.php
4.078 KB
17 Jun 2022 4.03 AM
bravetechrwanda / bravetechrwanda
0644
DonationStatusCommand.php
0.833 KB
24 Nov 2021 4.55 AM
bravetechrwanda / bravetechrwanda
0644
DonorSeedCommand.php
2.06 KB
24 Nov 2021 4.55 AM
bravetechrwanda / bravetechrwanda
0644
FormSeedCommand.php
3.604 KB
24 Nov 2021 4.55 AM
bravetechrwanda / bravetechrwanda
0644
LogsSeedCommand.php
2.269 KB
24 Nov 2021 4.55 AM
bravetechrwanda / bravetechrwanda
0644
PageSeedCommand.php
1.246 KB
17 Jun 2022 4.03 AM
bravetechrwanda / bravetechrwanda
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF Static GIF