$20 GRAYBYTE WORDPRESS FILE MANAGER $69

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

/home/bravetechrwanda/itiministry.org/plugins/give/src/BetaFeatures/Actions/

HOME
Current File : /home/bravetechrwanda/itiministry.org/plugins/give/src/BetaFeatures/Actions//RegisterSettings.php
<?php

namespace Give\BetaFeatures\Actions;

use Give\BetaFeatures\Facades\FeatureFlag;

/**
 * @since 3.6.0
 */
class RegisterSettings
{
    public function __invoke($settings)
    {
        if('beta' !== give_get_current_setting_section()) {
            return $settings;
        }

        FeatureFlag::resetNotificationCount();

        return $this->getSettings();
    }

    protected function getSettings()
    {
        return [
            ['id' => 'give_title_beta_features_1', 'type' => 'title'],
            ['id' => 'give_beta_features_banner', 'type' => 'beta_features'],
            [
                'name' => __('Event Tickets', 'give'),
                'desc' => __(
                    'If enabled, you’ll be get access to the event tickets feature where you can create events and sell tickets on your donation forms. Since this is in a beta, your feedback is crucial to help us improve and make the experience better before making it public.',
                    'give'
                ),
                'id' => 'enable_event_tickets',
                'type' => 'radio_inline',
                'default' => 'disabled',
                'options' => [
                    'enabled' => __('Enabled', 'give'),
                    'disabled' => __('Disabled', 'give'),
                ],
            ],
            ['id' => 'give_title_beta_features_2', 'type' => 'sectionend'],
            ['id' => 'give_beta_features_feedback_link', 'type' => 'beta_features_feedback_link'],
        ];
    }
}

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
RegisterSettingSection.php
0.318 KB
14 Mar 2024 1.54 AM
bravetechrwanda / bravetechrwanda
0644
RegisterSettings.php
1.48 KB
14 Mar 2024 1.54 AM
bravetechrwanda / bravetechrwanda
0644

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