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
charitable / includes / admin / intergrations / charitable-automation-admin-hooks.php

charitable-automation-admin-hooks.php in Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) 1.8.13, at includes/admin/intergrations/charitable-automation-admin-hooks.php

50 lines 962 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Automation Admin Hooks
4 *
5 * @package Charitable/Classes/Charitable_Automation_Admin_Hooks
6 * @author David Bisset
7 * @copyright Copyright (c) 2023, WP Charitable LLC
8 * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
9 * @since 1.8.8
10 * @version 1.8.8
11 */
12
13 // Exit if accessed directly.
14 if ( ! defined( 'ABSPATH' ) ) {
15 exit;
16 }
17
18 /**
19 * Automation Admin Hooks
20 *
21 * @since 1.8.8
22 */
23 class Charitable_Automation_Admin_Hooks {
24
25 /**
26 * Set up the class.
27 *
28 * @since 1.8.8
29 */
30 public function __construct() {
31 $this->init();
32 }
33
34 /**
35 * Initialize the class.
36 *
37 * @since 1.8.8
38 */
39 private function init() {
40 /**
41 * Load the Automation integration class.
42 *
43 * @see Charitable_Intergrations_Automation::register_settings()
44 */
45 add_action( 'admin_enqueue_scripts', array( Charitable_Intergrations_Automation::get_instance(), 'enqueue_scripts' ) );
46 }
47 }
48
49 new Charitable_Automation_Admin_Hooks();
50