PluginProbe
Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) / 1.8.13
Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) v1.8.13
1.8.13 1.8.12.3 1.8.12.2 1.8.12.1 1.8.12 1.8.11.3 1.8.11.2 1.8.11.1 1.8.11 1.6.6 1.6.60 1.6.7 1.6.8 1.6.9 1.7.0 1.7.0.1 1.7.0.11 1.7.0.12 1.7.0.14 1.7.0.2 1.7.0.3 1.7.0.5 1.7.0.6 1.7.0.7 1.7.0.9 All 211 releases
← All changes | includes/fields/class-charitable-donation-field-registry.php +18 -15 1.6.7 → 1.8.13 View file →
@@ -2,10 +2,10 @@
2 2 /**
3 3 * Register and retrieve donation fields.
4 4 *
5 5 * @package Charitable/Classes/Charitable_Donation_Field_Registry
6 - * @author Eric Daams
7 - * @copyright Copyright (c) 2018, Studio 164a
6 + * @author David Bisset
7 + * @copyright Copyright (c) 2023, WP Charitable LLC
8 8 * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
9 9 * @since 1.5.0
10 10 * @version 1.6.0
11 11 */
@@ -69,21 +69,24 @@
69 69 * @since 1.6.0
70 70 *
71 71 * @param array $sections The full array of sections for all forms, including defaults.
72 72 */
73 - return apply_filters( 'charitable_default_donation_sections', array(
74 - 'defaults' => array(
75 - 'public' => 'user',
76 - 'admin' => 'user',
77 - ),
78 - 'public' => array(
79 - 'user' => __( 'Your Details', 'charitable' ),
80 - ),
81 - 'admin' => array(
82 - 'user' => '',
83 - 'meta' => '',
84 - ),
85 - ) );
73 + return apply_filters(
74 + 'charitable_default_donation_sections',
75 + array(
76 + 'defaults' => array(
77 + 'public' => 'user',
78 + 'admin' => 'user',
79 + ),
80 + 'public' => array(
81 + 'user' => __( 'Your Details', 'charitable' ),
82 + ),
83 + 'admin' => array(
84 + 'user' => '',
85 + 'meta' => '',
86 + ),
87 + )
88 + );
86 89 }
87 90
88 91 /**
89 92 * Return the donation form fields.