uawdijnntqw1x1x1
IP : 216.73.216.109
Hostname : premium160.web-hosting.com
Kernel : Linux premium160.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
batcwwjx
/
old
/
public_html
/
wp-content
/
plugins
/
wp-rocket
/
inc
/
3rd-party
/
plugins
/
wp-rest-api.php
/
/
<?php defined( 'ABSPATH' ) || die( 'Cheatin’ uh?' ); /** * Add WP REST API path to cache exclusion * * @since 2.5.12 * * @param array $uri URLs to exclude from cache. * @return array Updated URLs */ function rocket_exclude_wp_rest_api( $uri ) { /** * By default, don't cache the WP REST API. * * @since 2.5.12 * * @param bool false will force to cache the WP REST API */ $rocket_cache_reject_wp_rest_api = apply_filters( 'rocket_cache_reject_wp_rest_api', true ); // Exclude WP REST API. if ( function_exists( 'json_get_url_prefix' ) && $rocket_cache_reject_wp_rest_api ) { $uri[] = '/' . json_get_url_prefix() . '/(.*)'; } if ( class_exists( 'WP_REST_Controller' ) && $rocket_cache_reject_wp_rest_api ) { $uri[] = '/wp-json/(.*)'; } return $uri; } add_filter( 'rocket_cache_reject_uri', 'rocket_exclude_wp_rest_api' );
/home/batcwwjx/old/public_html/wp-content/plugins/wp-rocket/inc/3rd-party/plugins/wp-rest-api.php