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



clean_site_cache ›

Since4.6.0
已弃用n/a
do_action( 'clean_site_cache', $blog_id, $blog, $domain_path_key )
参数: (3)
  • (int) $id Blog ID.
    Required: Yes
  • (WP_Site) $blog Site object.
    Required: Yes
  • (string) $domain_path_key md5 hash of domain and path.
    Required: Yes
定义在:
文档:

Fires immediately after a site has been removed from the object cache.





源码

do_action( 'clean_site_cache', $blog_id, $blog, $domain_path_key );