WordPress at a glance
function is not described

clear_global_post_cache() WP 3.0.0

Deprecated in 3.0.0. It is no longer supported and can be removed in future releases. Use clean_post_cache() instead.

Deprecated functionality to clear the global post cache.

  • See: clean_post_cache()

No Hooks.


Nothing (null).


clear_global_post_cache( $post_id );
$post_id(int) (required)
Post ID.

Code of clear global post cache: wp-includes/ms-deprecated.php WP 5.2.2

function clear_global_post_cache( $post_id ) {
	_deprecated_function( __FUNCTION__, '3.0.0', 'clean_post_cache()' );