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/ajax/charitable-ajax-hooks.php +16 -6 1.6.8 → 1.8.13 View file →
@@ -3,17 +3,20 @@
3 3 * Charitable AJAX Hooks.
4 4 *
5 5 * Action/filter hooks used for Charitable AJAX setup.
6 6 *
7 - * @package Charitable/Functions/AJAX
8 - * @version 1.2.3
9 - * @author Eric Daams
10 - * @copyright Copyright (c) 2019, Studio 164a
11 - * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
7 + * @package Charitable/Functions/AJAX
8 + * @author David Bisset
9 + * @copyright Copyright (c) 2023, WP Charitable LLC
10 + * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
11 + * @since 1.2.3
12 + * @version 1.6.28
12 13 */
13 14
14 15 // Exit if accessed directly.
15 -if ( ! defined( 'ABSPATH' ) ) { exit; }
16 +if ( ! defined( 'ABSPATH' ) ) {
17 + exit;
18 +}
16 19
17 20 /**
18 21 * Retrieve a campaign's donation form via AJAX.
19 22 *
@@ -28,8 +31,15 @@
28 31 * @see charitable_plupload_image_upload
29 32 */
30 33 add_action( 'wp_ajax_charitable_plupload_image_upload', 'charitable_plupload_image_upload' );
31 34 add_action( 'wp_ajax_nopriv_charitable_plupload_image_upload', 'charitable_plupload_image_upload' );
35 +
36 +/**
37 + * Retrieve the details for a particular donor.
38 + *
39 + * @see charitable_ajax_get_donor_data
40 + */
41 +add_action( 'wp_ajax_charitable_get_donor_data', 'charitable_ajax_get_donor_data' );
32 42
33 43 /**
34 44 * Get session content.
35 45 *