WordPress at a glance
action is not described

update_blog_public action-hook . WP MU

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


add_action( 'update_blog_public', 'action_function_name_2553', 10, 2 );
function action_function_name_2553( $blog_id, $value ){
	// action...
Blog ID.
The value of blog status.


  • Since MU (3.0.0)

Where the hook is called

wp-includes/ms-blogs.php 1064
do_action( 'update_blog_public', $blog_id, $value ); // Moved here from update_blog_public().

Where the hook is used (in WP core)

Does not used.