WordPress开发者和主题制作者的搜索引擎



clean_page_cache ›

Since2.0.0
已弃用3.4.0
clean_page_cache ( $id )
参数:
  • (int) $id Page ID to clean
    Required: Yes
查看:
定义在:
文档:

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'.



源码

function clean_page_cache( $id ) {
	_deprecated_function( __FUNCTION__, '3.4.0', 'clean_post_cache()' );

	clean_post_cache( $id );
}