clear_global_post_cache
Deprecated functionality to clear the global post cache.
Description
clear_global_post_cache( (int) $post_id );
Parameters (1)
- 0. $post_id (int)
- The post id.
Usage
if ( !function_exists( 'clear_global_post_cache' ) ) { require_once ABSPATH . WPINC . '/ms-deprecated.php'; } // The post id. $post_id = -1; // NOTICE! Understand what this does before running. $result = clear_global_post_cache($post_id);
Defined (1)
The function is defined in the following location(s).
- /wp-includes/ms-deprecated.php
- function clear_global_post_cache( $post_id ) {
- _deprecated_function( __FUNCTION__, '3.0.0', 'clean_post_cache()' );
- }