clear_global_post_cache( int $post_id )
This function has been deprecated. Use clean_post_cache() instead.
Deprecated functionality to clear the global post cache.
Description
See also
Parameters
- $post_id
-
(int) (Required) Post ID.
Source
File: wp-includes/ms-deprecated.php
function clear_global_post_cache( $post_id ) { _deprecated_function( __FUNCTION__, '3.0.0', 'clean_post_cache()' ); }
Changelog
Version | Description |
---|---|
3.0.0 | Use clean_post_cache() |
MU (3.0.0) | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/clear_global_post_cache