AlkantarClanX12
Current Path : /home/thanudqk/siampokernew.org/wp-content/plugins/wordpress-seo/src/helpers/ |
Current File : //home/thanudqk/siampokernew.org/wp-content/plugins/wordpress-seo/src/helpers/request-helper.php |
<?php namespace Yoast\WP\SEO\Helpers; /** * A helper object for the request state. */ class Request_Helper { /** * Checks if the current request is a REST request. * * @return boolean True when the current request is a REST request. */ public function is_rest_request() { return defined( 'REST_REQUEST' ) && REST_REQUEST === true; } }