# charitable/1.8.11.1/includes/admin/charitable-dashboard-hooks.php

Charitable – Donation &amp; Fundraising Platform (Donation Forms, Recurring Donations &amp; Fundraising Campaigns), version 1.8.11.1. 25 lines.

- Page: https://pluginprobe.com/plugins/charitable/1.8.11.1/code/includes/admin/charitable-dashboard-hooks.php
- Raw: https://pluginprobe.com/plugins/charitable/1.8.11.1/raw/includes/admin/charitable-dashboard-hooks.php
- Modified: 2025-09-24T16:00:00+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/charitable/1.8.11.1/code/includes/admin/charitable-dashboard-hooks.php#L10-L20`.

```php
<?php
/**
 * Charitable Dashboard Hooks.
 *
 * Action/filter hooks used for dashboard functionality in the admin.
 *
 * @package   Charitable/Functions/Dashboard
 * @author    David Bisset
 * @copyright Copyright (c) 2023, WP Charitable LLC
 * @license   http://opensource.org/licenses/gpl-2.0.php GNU Public License
 * @since     1.8.1
 */

// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

/**
 * Get dashboard data via ajax, probably as a result of a changing UI element.
 *
 * @see Charitable_Dashboard_Ajax::get_dashboard_data()
 */
add_action( 'wp_ajax_charitable_dashboard_data', array( Charitable_Dashboard_Ajax::get_instance(), 'get_dashboard_data' ) );

```
