wpseek.com
A WordPress-centric search engine for devs and theme authors



update_blog_public › WordPress Action Hooks

SinceMU (3.0.0)
Deprecatedn/a
do_action( 'update_blog_public', $site_id, $new_site->public )
Parameters: (2)
  • (int) $site_id Site ID.
    Required: Yes
  • (string) $is_public Whether the site is public. A numeric string, for compatibility reasons. Accepts '1' or '0'.
    Required: Yes
Defined at:
Codex:

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





Source

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