update_blog_public WordPress Action Hook

The update_blog_public WordPress hook is a hook that is called whenever a blog's public status is updated. This hook can be used to perform any actions that need to happen when a blog's public status is changed.

do_action( 'update_blog_public', int $site_id, string $value ) #

Fires after the current blog’s ‘public’ setting is updated.


Parameters

$site_id

(int)Site ID.

$value

(string)The value of the site status.


Top ↑

Source

File: wp-includes/ms-site.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
MU (3.0.0)Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.