# charitable/1.8.8/includes/api/charitable-api-functions.php

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

- Page: https://pluginprobe.com/plugins/charitable/1.8.8/code/includes/api/charitable-api-functions.php
- Raw: https://pluginprobe.com/plugins/charitable/1.8.8/raw/includes/api/charitable-api-functions.php
- Modified: 2023-11-01T16:41:02+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.8/code/includes/api/charitable-api-functions.php#L10-L20`.

```php
<?php
/**
 * REST API functions.
 *
 * @package   Charitable/Functions/API
 * @author    David Bisset
 * @copyright Copyright (c) 2023, WP Charitable LLC
 * @license   http://opensource.org/licenses/gpl-2.0.php GNU Public License
 * @since     1.6.0
 * @version   1.6.0
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

/**
 * Register REST API routes.
 *
 * @since  1.6.0
 *
 * @return void
 */
function charitable_register_api_routes() {
	$route = new Charitable_API_Route_Reports();
	$route->register_routes();
}

```
