# force-refresh/2.1.6/includes/api/client/client.php

Force Refresh, version 2.1.6. 21 lines.

- Page: https://pluginprobe.com/plugins/force-refresh/2.1.6/code/includes/api/client/client.php
- Raw: https://pluginprobe.com/plugins/force-refresh/2.1.6/raw/includes/api/client/client.php
- Modified: 2020-09-16T23:04:42+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/2.1.6/code/includes/api/client/client.php#L10-L20`.

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

/**
 * Function to check the nonce provided in the call.
 *
 * @return  boolean True if the provided nonce is valid.
 */
function is_client_nonce_valid() {
    $nonce = isset( $_REQUEST['nonce'] )
    ? sanitize_text_field( wp_unslash( $_REQUEST['nonce'] ) )
    : null;
    return wp_verify_nonce( $nonce, WP_ACTION_GET_VERSION );
}

require_once __DIR__ . '/inc.get-version.php';

```
