Uses
Uses | Description |
---|---|
wp-includes/functions.php: _deprecated_function() | Mark a function as deprecated and inform when it has been used. |
wp-includes/post.php: clean_post_cache() | Will clean the post in the cache. |
This function has been deprecated. Use clean_post_cache() instead.
Will clean the page in the cache.
Clean (read: delete) page from cache that matches $id. Will also clean cache associated with ‘all_page_ids’ and ‘get_pages’.
(int) (Required) Page ID to clean
File: wp-includes/deprecated.php
function clean_page_cache( $id ) { _deprecated_function( __FUNCTION__, '3.4.0', 'clean_post_cache()' ); clean_post_cache( $id ); }
Version | Description |
---|---|
3.4.0 | Use clean_post_cache |
2.0.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/clean_page_cache