| 1 |
<?php |
| 2 |
/** |
| 3 |
* Charitable Privacy Compliance Hooks. |
| 4 |
* |
| 5 |
* Action/filter hooks used for Charitable integration with Privacy Compliance. |
| 6 |
* |
| 7 |
* @package Charitable/Functions/Admin |
| 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.8.8 |
| 12 |
*/ |
| 13 |
|
| 14 |
// Exit if accessed directly. |
| 15 |
if ( ! defined( 'ABSPATH' ) ) { |
| 16 |
exit; |
| 17 |
} |
| 18 |
|
| 19 |
/** |
| 20 |
* Register Charitable scripts. |
| 21 |
* |
| 22 |
* @see Charitable_Intergrations_Privacy_Compliance::enqueue_scripts() |
| 23 |
*/ |
| 24 |
add_action( 'admin_enqueue_scripts', array( Charitable_Intergrations_Privacy_Compliance::get_instance(), 'enqueue_scripts' ) ); |
| 25 |
|