Action hook 'update_blog_public'

in WP Core File wp-includes/ms-site.php at line 1259

Description

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

Occurrences

Filename Line Number
wp-includes/ms-site.php 1259

Parameters

Type Name Description
int $site_id Site ID.
string $is_public Whether the site is public. A numeric string, for compatibility reasons. Accepts '1' or '0'.

PHP Doc

/**
		 * Fires after the current blog's 'public' setting is updated.
		 *
		 * @since MU (3.0.0)
		 *
		 * @param int    $site_id   Site ID.
		 * @param string $is_public Whether the site is public. A numeric string,
		 *                          for compatibility reasons. Accepts '1' or '0'.
		 */