PluginProbe
Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) / 1.6.57
Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) v1.6.57
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 1.8.0 All 210 releases
charitable / includes / fields / class-charitable-donation-fields.php

class-charitable-donation-fields.php in Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) 1.6.57, at includes/fields/class-charitable-donation-fields.php

53 lines 1.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Charitable Donation Fields model.
4 *
5 * @package Charitable/Classes/Charitable_Donation_Fields
6 * @author Eric Daams
7 * @copyright Copyright (c) 2022, Studio 164a
8 * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
9 * @since 1.5.0
10 * @version 1.6.0
11 */
12
13 // Exit if accessed directly.
14 if ( ! defined( 'ABSPATH' ) ) {
15 exit;
16 }
17
18 if ( ! class_exists( 'Charitable_Donation_Fields' ) ) :
19
20 /**
21 * Charitable_Donation_Fields
22 *
23 * @deprecated 1.9.0
24 *
25 * @since 1.5.0
26 * @since 1.6.0 Deprecated. Use Charitable_Object_Fields instead.
27 */
28 class Charitable_Donation_Fields extends Charitable_Object_Fields {
29
30 /**
31 * Create class object.
32 *
33 * @deprecated 1.9.0
34 *
35 * @since 1.5.0
36 * @since 1.6.0 Deprecated. Use Charitable_Object_Fields instead.
37 *
38 * @param Charitable_Field_Registry $registry An instance of `Charitable_Field_Registry`.
39 * @param mixed $object The object that will be passed to the value callback.
40 */
41 public function __construct( Charitable_Field_Registry $registry, $object ) {
42 parent::__construct( $registry, $object );
43
44 charitable_get_deprecated()->doing_it_wrong(
45 'Charitable_Donation_Class',
46 __( 'Charitable_Donation_Fields is deprecated as of Charitable 1.6.0. Use Charitable_Object_Fields instead.', 'charitable' ),
47 '1.6.0'
48 );
49 }
50 }
51
52 endif;
53