Warning: This function has been deprecated. Use clean_post_cache() instead.

clear_global_post_cache() WordPress Function

This function clears the post cache.

clear_global_post_cache( int $post_id ) #

Deprecated functionality to clear the global post cache.


Description

Top ↑

See also


Top ↑

Parameters

$post_id

(int)(Required)Post ID.


Top ↑

Source

File: wp-includes/ms-deprecated.php

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


Top ↑

Changelog

Changelog
VersionDescription
3.0.0Use clean_post_cache()
MU (3.0.0)Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.