$78 GRAYBYTE WORDPRESS FILE MANAGER $17

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

/home/bravrvjk/itiministry.org/wp-content/plugins/give/src/Onboarding/

HOME
Current File : /home/bravrvjk/itiministry.org/wp-content/plugins/give/src/Onboarding//BlockFactory.php
<?php

namespace Give\Onboarding;

use Give\Framework\Blocks\BlockModel;

/**
 * @since 3.15.0
 */
class BlockFactory
{
    /**
     *
     * @since 3.15.0
     *
     * @param array $attributes
     *
     * @return BlockModel
     */
    public static function company(array $attributes = []): BlockModel
    {
        return BlockModel::make([
            'name'       => 'givewp/company',
            'attributes' => array_merge([
                'label'      => __('Company Name', 'give'),
                'isRequired' => false,
            ], $attributes),
        ]);
    }

    /**
     *
     * @since 3.15.0
     *
     * @param array $attributes
     *
     * @return BlockModel
     */
    public static function termsAndConditions(array $attributes = []): BlockModel
    {
        return BlockModel::make([
            'name'       => 'givewp/terms-and-conditions',
            'attributes' => array_merge([
                'useGlobalSettings'   => false,
                'checkboxLabel'       => __('I agree to the Terms and conditions.', 'give'),
                'displayType'         => 'showFormTerms',
                'linkText'            => __('Show terms', 'give'),
                'linkUrl'             => '',
                'agreementText'       => __(
                    'Acceptance of any contribution, gift or grant is at the discretion of the GiveWP. The GiveWP will not accept any gift unless it can be used or expended consistently with the purpose and mission of the GiveWP. No irrevocable gift, whether outright or life-income in character, will be accepted if under any reasonable set of circumstances the gift would jeopardize the donor’s financial security. The GiveWP will refrain from providing advice about the tax or other treatment of gifts and will encourage donors to seek guidance from their own professional advisers to assist them in the process of making their donation.',
                    'give'
                ),
                'modalHeading'        => __('Do you consent to the following', 'give'),
                'modalAcceptanceText' => __('Accept', 'give'),
            ], $attributes),
        ]);
    }

    /**
     *
     * @since 3.15.0
     *
     * @param array $attributes
     *
     * @return BlockModel
     */
    public static function donorComments(array $attributes = []): BlockModel
    {
        return BlockModel::make([
            'name'       => 'givewp/donor-comments',
            'attributes' => array_merge([
                'label'       => __('Comment', 'give'),
                'description' => __('Would you like to add a comment to this donation?', 'give'),
            ], $attributes),
        ]);
    }

    /**
     *
     * @since 3.15.0
     *
     * @param array $attributes
     *
     * @return BlockModel
     */
    public static function anonymousDonations(array $attributes = []): BlockModel
    {
        return BlockModel::make([
            'name'       => 'givewp/anonymous',
            'attributes' => array_merge([
                'label'       => __('Make this an anonymous donation.', 'give'),
                'description' => __(
                    'Would you like to prevent your name, image, and comment from being displayed publicly?',
                    'give'
                ),
            ], $attributes),
        ]);
    }
}


Current_dir [ WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
4 Apr 2026 1.57 AM
bravrvjk / bravrvjk
0755
Config
--
4 Apr 2026 1.57 AM
bravrvjk / bravrvjk
0755
Helpers
--
4 Apr 2026 1.57 AM
bravrvjk / bravrvjk
0755
Migrations
--
4 Apr 2026 1.57 AM
bravrvjk / bravrvjk
0755
Routes
--
4 Apr 2026 1.57 AM
bravrvjk / bravrvjk
0755
Setup
--
4 Apr 2026 1.57 AM
bravrvjk / bravrvjk
0755
Wizard
--
4 Apr 2026 1.57 AM
bravrvjk / bravrvjk
0755
BlockFactory.php
3.27 KB
14 Aug 2024 11.11 PM
bravrvjk / bravrvjk
0644
DefaultFormFactory.php
9.258 KB
31 Mar 2025 11.17 PM
bravrvjk / bravrvjk
0644
FormRepository.php
3.164 KB
16 Apr 2025 5.25 PM
bravrvjk / bravrvjk
0644
LocaleCollection.php
9.172 KB
24 Nov 2021 4.55 AM
bravrvjk / bravrvjk
0644
SettingsRepository.php
1.471 KB
24 Nov 2021 4.55 AM
bravrvjk / bravrvjk
0644
SettingsRepositoryFactory.php
0.47 KB
24 Nov 2021 4.55 AM
bravrvjk / bravrvjk
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF