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



update_blog_public ›

SinceMU (3.0.0)
已弃用n/a
do_action( 'update_blog_public', $site_id, $new_site->public )
参数: (2)
  • (int) $site_id Site ID.
    Required: Yes
  • (string) $value The value of the site status.
    Required: Yes
定义在:
文档:

Fires after the current blog's 'public' setting is updated.





源码

do_action( 'update_blog_public', $site_id, $new_site->public );