# force-refresh/3.2.0/includes/api/api.php

Force Refresh, version 3.2.0. 22 lines.

- Page: https://pluginprobe.com/plugins/force-refresh/3.2.0/code/includes/api/api.php
- Raw: https://pluginprobe.com/plugins/force-refresh/3.2.0/raw/includes/api/api.php
- Modified: 2023-11-10T16:53:14+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/force-refresh/3.2.0/code/includes/api/api.php#L10-L20`.

```php
<?php
/**
 * Our API calls responsible for handling requests from website visitors.
 *
 * @package ForceRefresh
 */

namespace JordanLeven\Plugins\ForceRefresh\Api;

/**
* Custom intervals must be at least 30 seconds.
*/
define( 'REFRESH_INTERVAL_CUSTOM_MINIMUM_IN_SECONDS', 30 );

/**
* Custom intervals must be, at max, four hours.
*/
define( 'REFRESH_INTERVAL_CUSTOM_MAXIMUM_IN_SECONDS', 4 * 3600 );

// Our admin API handlers.
require_once __DIR__ . '/register-endpoints.php';

```
