首页 WordPress函数大全 clean_page_cache()

clean_page_cache()

2020-05-01 / 2539阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

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

See also See also

  • clean_post_cache()

Top ↑

参数

$id

(int)
(Required)
Page ID to clean

大家谈论
    我的见解