I am raw html block.
Click edit button to change this html
'seamless-donations-form',
'name' => 'seamless-donations-form',
'action' => $form_action,
'method' => 'post',
'elements' => array(
'session_id_element' => array(
'type' => 'hidden', // Save the session ID as a hidden input
'group' => '_dgx_donate_session_id',
'value' => $session_id,
),
'redirect_url_element' => array(
'type' => 'hidden', // Save the PayPal redirect URL as a hidden input
'group' => '_dgx_donate_redirect_url',
'value' => $form_action,
),
'success_url_element' => array(
'type' => 'hidden', // Save the PayPal redirect URL as a hidden input
'group' => '_dgx_donate_success_url',
'value' => dgx_donate_paypalstd_get_current_url (),
),
),
);
// Start the outermost container
$form['outermost_container'] = array(
'id' => 'dgx-donate-container',
);
// Pick and choose the built in sections this gateway supports
$warning_section = seamless_donations_donation_form_warning_section ();
if( is_array ( $warning_section ) ) {
$form['outermost_container']['warning_section'] = $warning_section;
}
$form['outermost_container']['donation_section'] = seamless_donations_get_donation_section ();
$form['outermost_container']['tribute_section'] = seamless_donations_get_tribute_section ();
$form['outermost_container']['donor_section'] = seamless_donations_get_donor_section ();
$form['outermost_container']['billing_section'] = seamless_donations_get_billing_section ();
$form['outermost_container']['paypal_section'] = seamless_donations_get_paypal_section ();
$form['outermost_container']['submit_section'] = seamless_donations_get_submit_section ();
$form = apply_filters ( 'seamless_donations_form_section_order', $form );
// build and display the form
$html = seamless_donations_forms_engine ( $form );
return $html;
}
function seamless_donations_donation_form_warning_section () {
// Display any setup warnings we need to display here (e.g. running in test mode)
$paypal_server = get_option ( 'dgx_donate_paypal_server' );
if( $paypal_server == "SANDBOX" ) {
$warning = array(
'id' => 'dgx-donate-form-sandbox-warning',
'class' => 'dgx-donate-form-section',
'elements' => array(
array(
'type' => 'static',
'before' => '
',
'after' => '
',
'value' => esc_html__ (
"Warning - Seamless Donations is currently configured to use the Sandbox (Test Server).",
'seamless-donations' ),
)
)
);
return $warning;
} else {
return false;
}
}
function seamless_donations_get_donation_section () {
$donation_section = array(
'id' => 'dgx-donate-form-donation-section',
'class' => 'dgx-donate-form-section',
'elements' => array(
'donation_header' => array(
'type' => 'static',
'before' => '
',
'after' => '
',
'value' => esc_html__ ( 'Donation Information', 'seamless-donations' ),
),
'header_desc' => array(
'type' => 'static',
'before' => '
',
'after' => '
',
'value' => esc_html__ ( 'I would like to make a donation in the amount of:', 'seamless-donations' ),
),
),
);
// assemble the radio buttons for the giving levels
$index = 0;
$giving_levels = dgx_donate_get_giving_levels ();
foreach( $giving_levels as $giving_level ) {
$giving_level_key = "dgx_donate_giving_level_" . $giving_level;
$giving_level_option = get_option ( $giving_level_key );
if( $giving_level_option == 'yes' ) {
$formatted_amount = seamless_donations_get_escaped_formatted_amount ( $giving_level, 0 );
$element = array(
'type' => 'radio',
'group' => '_dgx_donate_amount',
'conceal' => 'other-donation-level',
'wrapper' => 'span',
'value' => $giving_level,
'prompt' => $formatted_amount,
);
if( $index == 0 ) {
$element['select'] = true;
}
if( $index > 0 ) {
$element['class'] = 'horiz';
}
$donation_section['elements'][ $giving_level_key ] = $element;
++ $index;
}
}
// add the "other" button and the text zone for "other" entry
$donation_section['elements']['other_radio_button'] = array(
'type' => 'radio',
'group' => '_dgx_donate_amount',
'prompt' => esc_html__ ( 'Other', 'seamless-donations' ),
'reveal' => 'other-donation-level',
'wrapper' => 'span',
'value' => 'OTHER',
'class' => 'horiz',
'id' => 'dgx-donate-other-radio',
);
$donation_section['elements']['_dgx_donate_user_amount'] = array(
'type' => 'text',
'size' => 15,
'class' => 'aftertext',
'validation' => 'currency',
'cloak' => 'other-donation-level',
'id' => '_dgx_donate_user_amount',
'before' => esc_html__ ( 'Other: ', 'seamless-donations' ),
);
// Designated Funds
if( get_option ( 'dgx_donate_show_designated_funds_section' ) == 'true' ) {
// in 4.0+ funds are a custom post type, not an option array
$query_args = array(
'orderby' => 'title',
'order' => 'asc',
'post_type' => 'funds',
'post_status' => 'publish',
'numberposts' => - 1,
'meta_query' => array(
array(
'key' => '_dgx_donate_fund_show',
'value' => 'Yes',
)
)
);
$posts_array = get_posts ( $query_args );
$fund_count = count ( $posts_array );
if( $fund_count > 0 ) {
// designated fund checkbox
$donation_section['elements']['_dgx_donate_designated'] = array(
'type' => 'checkbox',
'id' => 'dgx-donate-designated',
'reveal' => 'specific-fund',
'prompt' => esc_html__ (
"I would like to designate this donation to a specific fund", 'seamless-donations' ),
);
$options_array = array(
0 => 'No fund specified',
);
foreach( $posts_array as $post ) {
$title = $post->post_title;
$id = $post->ID;
$options_array[ $id ] = $title;
}
$funds_section = array(
'elements' => array(
'designated_fund_label' => array(
'type' => 'static',
'cloak' => 'specific-fund',
'value' => esc_html__ ( 'Designated Fund: ', 'seamless-donations' ) . " ",
),
'_dgx_donate_designated_fund' => array(
'type' => 'select',
'cloak' => 'specific-fund',
'class' => '',
'options' => $options_array,
),
),
);
$donation_section['funds_section'] = $funds_section;
}
}
// Repeating donations
if( get_option ( 'dgx_donate_show_repeating_option' ) == 'true' ) {
$repeating_section = array(
'elements' => array(
'_dgx_donate_repeating' => array(
'type' => 'checkbox',
'id' => 'dgx-donate-repeating',
'prompt' => esc_html__ (
"I would like this donation to automatically repeat each month", 'seamless-donations' ),
'before' => '
',
'after' => '
',
),
)
);
$donation_section['repeating_section'] = $repeating_section;
}
$donation_section = apply_filters (
'seamless_donations_form_donation_section', $donation_section );
return $donation_section;
}
function seamless_donations_get_tribute_section () {
if( get_option ( 'dgx_donate_show_tribute_section' ) == 'true' ) {
$default_country = get_option ( 'dgx_donate_default_country' );
$countries_array = dgx_donate_get_countries ();
$states_array = dgx_donate_get_states ();
$provinces_array = dgx_donate_get_provinces ();
$postal_code_array = dgx_donate_get_countries_requiring_postal_code ();
$postal_code_reveal_array = array();
for( $postal_code_index = 0; $postal_code_index < count ( $postal_code_array ); ++ $postal_code_index ) {
$postal_code_country = $postal_code_array[ $postal_code_index ];
switch( $postal_code_country ) {
case 'US':
$postal_code_reveal_array['US'] = 'conceal-state conceal-postcode';
break;
case 'CA':
$postal_code_reveal_array['CA'] = 'conceal-province conceal-postcode';
break;
default:
$postal_code_reveal_array[ $postal_code_country ] = 'conceal-postcode';
}
}
$tribute_section = array(
'id' => 'dgx-donate-form-tribute-section',
'class' => 'dgx-donate-form-section',
'elements' => array(
'donation_header' => array(
'type' => 'static',
'before' => '
',
'after' => '
',
'value' => esc_html__ ( 'Tribute Gift', 'seamless-donations' ),
),
'_dgx_donate_tribute_gift' => array(
'type' => 'checkbox',
'id' => 'dgx-donate-tribute',
'reveal' => 'in-honor',
'check' => '_dgx_donate_honor_by_email',
'conceal' => 'postal-acknowledgement conceal-state conceal-postcode conceal-province',
'prompt' => esc_html__ (
"Check here to donate in honor or memory of someone", 'seamless-donations' ),
),
'_dgx_donate_memorial_gift' => array(
'type' => 'checkbox',
'cloak' => 'in-honor',
'prompt' => esc_html__ (
"Check here if this is a memorial gift", 'seamless-donations' ),
),
'_dgx_donate_honoree_name' => array(
'type' => 'text',
'cloak' => 'in-honor',
'size' => 20,
'before' => esc_html__ ( 'Name of person to be honored: ', 'seamless-donations' ),
),
'_dgx_donate_honor_by_email' => array(
'type' => 'radio',
'cloak' => 'in-honor',
'select' => true,
'group' => '_dgx_donate_honor_by_email',
'value' => 'TRUE',
'reveal' => 'email-acknowledgement',
'conceal' => 'postal-acknowledgement conceal-state conceal-postcode conceal-province',
'prompt' => esc_html__ (
"Send acknowledgement via email", 'seamless-donations' ),
),
'_dgx_donate_honor_by_post_mail' => array(
'type' => 'radio',
'cloak' => 'in-honor',
'group' => '_dgx_donate_honor_by_email',
'value' => 'FALSE',
'reveal' => 'postal-acknowledgement',
'conceal' => 'email-acknowledgement',
'prompt' => esc_html__ (
"Send acknowledgement via postal mail", 'seamless-donations' ),
),
'_dgx_donate_honoree_email_name' => array(
'type' => 'text',
'cloak' => 'in-honor email-acknowledgement',
'size' => 20,
'before' => esc_html__ ( 'Email Name: ', 'seamless-donations' ),
),
'_dgx_donate_honoree_email' => array(
'type' => 'text',
'cloak' => 'in-honor email-acknowledgement',
'validation' => 'email',
'size' => 20,
'before' => esc_html__ ( 'Email: ', 'seamless-donations' ),
),
'_dgx_donate_honoree_post_name' => array(
'type' => 'text',
'cloak' => 'postal-acknowledgement',
'size' => 20,
'before' => esc_html__ ( 'Name: ', 'seamless-donations' ),
),
'_dgx_donate_honoree_address' => array(
'type' => 'text',
'cloak' => 'postal-acknowledgement',
'size' => 20,
'before' => esc_html__ ( 'Address: ', 'seamless-donations' ),
),
'_dgx_donate_honoree_city' => array(
'type' => 'text',
'cloak' => 'postal-acknowledgement',
'size' => 20,
'before' => esc_html__ ( 'City: ', 'seamless-donations' ),
),
'_dgx_donate_honoree_state' => array(
'type' => 'select',
'cloak' => 'conceal-state',
'size' => 1,
'options' => $states_array,
'before' => esc_html__ ( 'State : ', 'seamless-donations' ),
),
'_dgx_donate_honoree_province' => array(
'type' => 'select',
'cloak' => 'conceal-province',
'size' => 1,
'options' => $provinces_array,
'before' => esc_html__ ( 'Province: ', 'seamless-donations' ),
),
'_dgx_donate_honoree_country' => array(
'type' => 'select',
'cloak' => 'postal-acknowledgement',
'conceal' => 'conceal-state conceal-postcode conceal-province',
'reveal' => $postal_code_reveal_array,
'options' => $countries_array,
'value' => $default_country,
'size' => 1,
'before' => esc_html__ ( 'Country: ', 'seamless-donations' ),
),
'_dgx_donate_honoree_zip' => array(
'type' => 'text',
'cloak' => 'conceal-postcode',
'size' => 10,
'before' => esc_html__ ( 'Postal Code: ', 'seamless-donations' ),
),
),
);
} else {
$tribute_section = array();
}
$tribute_section = apply_filters (
'seamless_donations_form_tribute_section', $tribute_section );
return $tribute_section;
}
function seamless_donations_get_donor_section () {
$donor_section = array(
'id' => 'dgx-donate-form-donor-section',
'class' => 'dgx-donate-form-section',
'elements' => array(
'donation_header' => array(
'type' => 'static',
'before' => '
',
'after' => '
',
'value' => esc_html__ ( 'Donor Information', 'seamless-donations' ),
),
'_dgx_donate_donor_first_name' => array(
'type' => 'text',
'size' => 20,
'validation' => 'required',
'before' => esc_html__ ( 'First Name:', 'seamless-donations' ),
),
'_dgx_donate_donor_last_name' => array(
'type' => 'text',
'size' => 20,
'validation' => 'required',
'before' => esc_html__ ( 'Last Name:', 'seamless-donations' ),
),
'_dgx_donate_donor_email' => array(
'type' => 'text',
'size' => 20,
'validation' => 'required,email',
'before' => esc_html__ ( 'Email:', 'seamless-donations' ),
),
),
);
$donor_anonymous = get_option ( 'dgx_donate_show_anonymous_option' );
if( $donor_anonymous == 'true' ) {
$donor_section['elements']['_dgx_donate_anonymous'] = array(
'type' => 'checkbox',
'prompt' => esc_html__ (
"Please do not display my name publicly. I would like to remain anonymous",
'seamless-donations' ),
);
}
$show_list_subscribe = get_option ( 'dgx_donate_show_mailing_list_option' );
if( $show_list_subscribe == 'true' ) {
$donor_section['elements']['_dgx_donate_add_to_mailing_list'] = array(
'type' => 'checkbox',
'prompt' => esc_html__ (
"Add me to your mailing list", 'seamless-donations' ),
);
}
$show_donor_telephone_field = get_option ( 'dgx_donate_show_donor_telephone_field' );
if( $show_donor_telephone_field != 'false' ) {
$donor_section['elements']['_dgx_donate_donor_phone'] = array(
'type' => 'text',
'size' => 20,
'validation' => 'required',
'before' => esc_html__ ( 'Phone:', 'seamless-donations' ),
);
if( $show_donor_telephone_field == 'required' ) {
$donor_section['elements']['_dgx_donate_donor_phone']['validation'] = 'required';
}
}
$show_donor_employer_field = get_option ( 'dgx_donate_show_donor_employer_field' );
$show_employer_match_checkbox = get_option ( 'dgx_donate_show_employer_section' );
$show_donor_occupation_field = get_option ( 'dgx_donate_show_donor_occupation_field' );
if( $show_donor_employer_field != 'false' ) {
$donor_section['elements']['_dgx_donate_employer_name'] = array(
'type' => 'text',
'size' => 20,
'before' => esc_html__ ( 'Employer:', 'seamless-donations' ),
);
if( $show_donor_employer_field == 'required' ) {
$donor_section['elements']['_dgx_donate_employer_name']['validation'] = 'required';
}
if( $show_employer_match_checkbox != 'false' ) {
$donor_section['elements']['_dgx_donate_employer_match'] = array(
'type' => 'checkbox',
'prompt' => esc_html__ (
"Check here if your employer matches donations", 'seamless-donations' ),
);
}
}
if( $show_donor_occupation_field != 'false' ) {
$donor_section['elements']['_dgx_donate_occupation'] = array(
'type' => 'text',
'size' => 20,
'before' => esc_html__ ( 'Occupation:', 'seamless-donations' ),
);
if( $show_donor_occupation_field == 'required' ) {
$donor_section['elements']['_dgx_donate_occupation']['validation'] = 'required';
}
}
$donor_section = apply_filters (
'seamless_donations_form_donor_section', $donor_section );
return $donor_section;
}
function seamless_donations_get_billing_section () {
$show_address = get_option ( 'dgx_donate_show_donor_address_fields' );
if( $show_address != 'true' ) {
return array();
}
$default_country = get_option ( 'dgx_donate_default_country' );
$countries_array = dgx_donate_get_countries ();
$states_array = dgx_donate_get_states ();
$provinces_array = dgx_donate_get_provinces ();
$postal_code_array = dgx_donate_get_countries_requiring_postal_code ();
$postal_code_reveal_array = array();
for( $postal_code_index = 0; $postal_code_index < count ( $postal_code_array ); ++ $postal_code_index ) {
$postal_code_country = $postal_code_array[ $postal_code_index ];
switch( $postal_code_country ) {
case 'US':
$postal_code_reveal_array['US'] = 'conceal-donor-state conceal-donor-postcode';
break;
case 'CA':
$postal_code_reveal_array['CA'] = 'conceal-donor-province conceal-donor-postcode';
break;
case 'GB':
$postal_code_reveal_array['GB'] = 'gift-aid conceal-donor-postcode';
break;
default:
$postal_code_reveal_array[ $postal_code_country ] = 'conceal-donor-postcode';
}
}
$billing_section = array(
'id' => 'dgx-donate-form-billing-section',
'class' => 'dgx-donate-form-section',
'elements' => array(
'donation_header' => array(
'type' => 'static',
'before' => '
',
'after' => '
',
'value' => esc_html__ ( 'Donor Address', 'seamless-donations' ),
),
'_dgx_donate_donor_address' => array(
'type' => 'text',
'size' => 20,
'validation' => 'required',
'before' => esc_html__ ( 'Address: ', 'seamless-donations' )
),
'_dgx_donate_donor_address2' => array(
'type' => 'text',
'size' => 20,
'before' => esc_html__ ( 'Address 2: ', 'seamless-donations' ),
'after' =>
""
),
'_dgx_donate_donor_city' => array(
'type' => 'text',
'size' => 20,
'validation' => 'required',
'before' => esc_html__ ( 'City: ', 'seamless-donations' )
),
'_dgx_donate_donor_state' => array(
'type' => 'select',
'size' => 1,
'options' => $states_array,
'before' => esc_html__ ( 'State : ', 'seamless-donations' ),
),
'_dgx_donate_donor_province' => array(
'type' => 'select',
'size' => 1,
'options' => $provinces_array,
'before' => esc_html__ ( 'Province: ', 'seamless-donations' ),
),
'_dgx_donate_donor_country' => array(
'type' => 'select',
'conceal' => 'conceal-donor-state conceal-donor-postcode conceal-donor-province gift-aid',
'reveal' => $postal_code_reveal_array,
'options' => $countries_array,
'value' => $default_country,
'size' => 1,
'before' => esc_html__ ( 'Country: ', 'seamless-donations' ),
),
'_dgx_donate_donor_zip' => array(
'type' => 'text',
'size' => 10,
'before' => esc_html__ ( 'Postal Code: ', 'seamless-donations' ),
),
'dgx_donate_uk_gift_aid' => array(
'type' => 'checkbox',
'prompt' => esc_html__ (
"I am a UK taxpayer and my gift qualifies for Gift Aid.", 'seamless-donations' ),
),
),
);
// since these fields are visible on page load, we need to make certain fields visible based on country
// therefore, we don't want them cloaked, but we want them still interactive, so we'll put them in
// class instead.
switch( $default_country ) {
case 'US':
$billing_section['elements']['_dgx_donate_donor_state']['class'] = 'conceal-donor-state';
$billing_section['elements']['_dgx_donate_donor_province']['cloak'] = 'conceal-donor-province';
$billing_section['elements']['_dgx_donate_donor_zip']['class'] = 'conceal-donor-postcode';
$billing_section['elements']['dgx_donate_uk_gift_aid']['cloak'] = 'gift-aid';
break;
case 'CA':
$billing_section['elements']['_dgx_donate_donor_state']['cloak'] = 'conceal-donor-state';
$billing_section['elements']['_dgx_donate_donor_province']['class'] = 'conceal-donor-province';
$billing_section['elements']['_dgx_donate_donor_zip']['class'] = 'conceal-donor-postcode';
$billing_section['elements']['dgx_donate_uk_gift_aid']['cloak'] = 'gift-aid';
break;
case 'GB':
$billing_section['elements']['_dgx_donate_donor_state']['cloak'] = 'conceal-donor-state';
$billing_section['elements']['_dgx_donate_donor_province']['cloak'] = 'conceal-donor-province';
$billing_section['elements']['_dgx_donate_donor_zip']['class'] = 'conceal-donor-postcode';
$billing_section['elements']['dgx_donate_uk_gift_aid']['class'] = 'gift-aid';
break;
default:
$billing_section['elements']['_dgx_donate_donor_state']['cloak'] = 'conceal-donor-state';
$billing_section['elements']['_dgx_donate_donor_province']['cloak'] = 'conceal-donor-province';
if(dgx_donate_country_requires_postal_code($default_country)){
$billing_section['elements']['_dgx_donate_donor_zip']['class'] = 'conceal-donor-postcode';
} else {
$billing_section['elements']['_dgx_donate_donor_zip']['cloak'] = 'conceal-donor-postcode';
}
$billing_section['elements']['dgx_donate_uk_gift_aid']['cloak'] = 'gift-aid';
}
$billing_section = apply_filters (
'seamless_donations_form_billing_section', $billing_section );
return $billing_section;
}
/**
* @return array|mixed|void
*/
function seamless_donations_get_paypal_section () {
$paypal_email = get_option ( 'dgx_donate_paypal_email' );
$currency_code = get_option ( 'dgx_donate_currency' );
$notify_url = plugins_url ( '/dgx-donate-paypalstd-ipn.php', __FILE__ );
//$session_id = session_id ();
// set up success URL
$success_url = dgx_donate_paypalstd_get_current_url ();
// if( strpos ( $success_url, "?" ) === false ) {
// $success_url .= "?";
// } else {
// $success_url .= "&";
// }
// $success_url .= "thanks=1&sessionid=";
// $success_url .= "$session_id";
// not used in core code, but users might be including this somewhere
$item_name = apply_filters ( 'dgx_donate_item_name', __ ( 'Donation', 'seamless-donations' ) );
$paypal_hidden_section = array(
'id' => 'dgx-donate-form-paypal-hidden-section',
'class' => 'dgx-donate-form-section',
'style' => 'display:none', // we want to hide this section from the form
'elements' => array(
'nonce' => array(
'type' => 'hidden',
'value' => wp_create_nonce ( 'dgx-donate-nonce' ),
),
'cmd' => array(
'type' => 'hidden',
'value' => '',
),
'business' => array(
'type' => 'hidden',
'value' => esc_attr ( $paypal_email ),
),
'return' => array(
'type' => 'hidden',
'value' => '', // set later in payment function, not really needed here
),
'first_name' => array(
'type' => 'hidden',
'value' => '',
),
'last_name' => array(
'type' => 'hidden',
'value' => '',
),
'address1' => array(
'type' => 'hidden',
'value' => '',
),
'address2' => array(
'type' => 'hidden',
'value' => '',
),
'city' => array(
'type' => 'hidden',
'value' => '',
),
'state' => array(
'type' => 'hidden', // removed if country not US or Canada
'value' => '',
),
'zip' => array(
'type' => 'hidden',
'value' => '',
),
'country' => array(
'type' => 'hidden',
'value' => '',
),
'email' => array(
'type' => 'hidden',
'value' => '',
),
'custom' => array(
'type' => 'hidden',
'value' => '',
),
'notify_url' => array(
'type' => 'hidden',
'value' => esc_attr ( $notify_url ),
),
'item_name' => array(
'type' => 'hidden',
'value' => esc_attr ( $item_name ),
),
'amount' => array(
'type' => 'hidden',
'value' => '1.00',
),
'quantity' => array(
'type' => 'hidden',
'value' => '1',
),
'currency_code' => array(
'type' => 'hidden',
'value' => esc_attr ( $currency_code ),
),
'no_note' => array(
'type' => 'hidden',
'value' => '1',
),
'src' => array(
'type' => 'hidden', // removed when not repeating
'value' => '1',
),
'p3' => array(
'type' => 'hidden', // removed when not repeating
'value' => '',
),
't3' => array(
'type' => 'hidden', // removed when not repeating
'value' => '',
),
'a3' => array(
'type' => 'hidden', // removed when not repeating
'value' => '',
),
),
);
$paypal_hidden_section = apply_filters (
'seamless_donations_form_paypal_section', $paypal_hidden_section );
return $paypal_hidden_section;
}
function seamless_donations_get_submit_section () {
$processing_image_url = plugins_url ( '/images/ajax-loader.gif', __FILE__ );
$button_image_url = plugins_url ( '/images/paypal_btn_donate_lg.gif', __FILE__ );
$disabled_button_image_url = plugins_url ( '/images/paypal_btn_donate_lg_disabled.gif', __FILE__ );
$submit_section = array(
'id' => 'dgx-donate-form-payment-section',
'class' => 'dgx-donate-form-section',
'elements' => array(
'dgx-donate-pay-enabled' => array(
'type' => 'image',
'class' => 'dgx-donate-pay-enabled',
'source' => esc_url ( $button_image_url ),
'value' => esc_html__ ( 'Donate Now', 'seamless-donations' ),
),
'dgx-donate-pay-disabled' => array(
'type' => 'image',
'class' => 'dgx-donate-pay-disabled',
'source' => esc_url ( $disabled_button_image_url ),
),
'dgx-donate-busy' => array(
'type' => 'image',
'class' => 'dgx-donate-busy',
'source' => esc_url ( $processing_image_url ),
),
),
);
$submit_section = apply_filters (
'seamless_donations_form_submit_section', $submit_section );
return $submit_section;
}