W3cubDocs

/WordPress

clear_global_post_cache( int $post_id )

Deprecated functionality to clear the global post cache.

Description

See also

Parameters

$post_idintrequired
Post ID.

Source

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

Changelog

Version Description
3.0.0 Use clean_post_cache()
MU (3.0.0) Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/clear_global_post_cache