On this page
clear_global_post_cache( int $post_id )
This function has been deprecated. Use clean_post_cache() instead.
Deprecated functionality to clear the global post cache.
Description
See also
Parameters
$post_idint Required-
Post ID.
Source
File: wp-includes/ms-deprecated.php. View all references
function clear_global_post_cache( $post_id ) {
_deprecated_function( __FUNCTION__, '3.0.0', 'clean_post_cache()' );
}
Related
Uses
| Uses | Description |
|---|---|
| _deprecated_function() wp-includes/functions.php | Marks a function as deprecated and inform when it has been used. |
Changelog
| Version | Description |
|---|---|
| 3.0.0 | Use clean_post_cache() |
| MU (3.0.0) | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/clear_global_post_cache