clear_global_post_cache()
Deprecated since 3.0.0. It is no longer supported and may be removed in future releases. Use clean_post_cache() instead.
Deprecated functionality to clear the global post cache.
No Hooks.
Returns
null. Nothing (null).
Usage
clear_global_post_cache( $post_id );
- $post_id(int) (required)
- Post ID.
Notes
- See: clean_post_cache()
Changelog
| Since 3.0.0 | Introduced. |
| Deprecated since 3.0.0 | Use clean_post_cache() |
clear_global_post_cache() clear global post cache code WP 6.9.1
function clear_global_post_cache( $post_id ) {
_deprecated_function( __FUNCTION__, '3.0.0', 'clean_post_cache()' );
}