WordPress at a glance
function is not described

clear_global_post_cache() WP 3.0.0

Deprecated in from version 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.

No Hooks.

Return

Null. Nothing.

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()

Code of clear_global_post_cache() WP 5.5.2

<?php
function clear_global_post_cache( $post_id ) {
	_deprecated_function( __FUNCTION__, '3.0.0', 'clean_post_cache()' );
}