update_blog_public

update_blog_public

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.7.1

do_action('update_blog_public') is found 1 times:

  • /wp-includes/ms-site.php line 1260
    		 * @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'.
    		 */
    		do_action( 'update_blog_public', $site_id, $new_site->public );
    	}
    }
    
    /**
     * Cleans the necessary caches after specific site data has been updated.
     *