wp_update_blog_public_option_on_site_update

Advertisement

Summery Summery

Updates the blog_public option for a given site ID.

Syntax Syntax

wp_update_blog_public_option_on_site_update( int $site_id, string $public )

Parameters Parameters

$site_id

(Required) Site ID.

$public

(Required) The value of the site status.

Source Source

File: wp-includes/ms-site.php

		clean_blog_cache( $new_site );
	}
}

/**
 * Updates the `blog_public` option for a given site ID.
 *
 * @since 5.1.0
 *

Advertisement

Changelog Changelog

Changelog
Version Description
5.1.0 Introduced.

Advertisement

Leave a Reply