clear_global_post_cache()WP 3.0.0

Deprecated 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 (null).

Usage

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

Notes

Changelog

Since 3.0.0 Introduced.
Deprecated since 3.0.0 Use clean_post_cache()

clear_global_post_cache() code WP 6.5.2

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