Warning: This function has been deprecated. Use clean_post_cache() instead.
clear_global_post_cache() WordPress Function
This function clears the post cache.
clear_global_post_cache( int $post_id ) #
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()' ); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
3.0.0 | Use clean_post_cache() |
MU (3.0.0) | Introduced. |