WP_REST_URL_Details_Controller::get_cache() – Utility function to retrieve a value from the cache at a given key.
You appear to be a bot. Output may be restricted
Description
Utility function to retrieve a value from the cache at a given key.
Usage
$mixed = WP_REST_URL_Details_Controller::get_cache( $key );
Parameters
- $key
- ( string ) required – The cache key.
Returns
mixed The value from the cache.
Source
File name: wordpress/wp-includes/rest-api/endpoints/class-wp-rest-url-details-controller.php
Lines:
1 to 3 of 3
private function get_cache( $key ) { return get_site_transient( $key ); }