Warning: This function has been deprecated. Use clean_post_cache() instead.
clean_page_cache( int $id )
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’.
参数
- $id
-
(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 | 描述 |
---|---|
3.4.0 | Use clean_post_cache |
2.0.0 | Introduced. |
相关函数
Uses
-
wp-includes/functions.php:
_deprecated_function() -
wp-includes/post.php:
clean_post_cache()
User Contributed Notes
你可能对这些文章感兴趣:
- wordpress函数gd_edit_image_support()用法示例
- wordpress函数funky_javascript_callback()用法示例
- wordpress函数funky_javascript_fix()用法示例
- wordpress函数gallery_shortcode()用法示例
- wordpress函数format_to_edit()用法示例
- wordpress函数format_to_post()用法示例
- wordpress函数form_option()用法示例
- wordpress函数force_ssl_login()用法示例
- wordpress函数format_code_lang()用法示例
- wordpress函数format_for_editor()用法示例
- wordpress函数force_ssl_content()用法示例
- wordpress函数force_balance_tags()用法示例
- wordpress函数force_ssl_admin()用法示例
- wordpress函数flush_rewrite_rules()用法示例
如有疑问,请前往问答中心反馈!
反馈