update_blog_status

Advertisement

Summery Summery

Update a blog details field.

Syntax Syntax

update_blog_status( int $blog_id, string $pref, string $value, null $deprecated = null )

Parameters Parameters

$blog_id

(Required) Blog ID.

$pref

(Required) Field name.

$value

(Required) Field value.

$deprecated

(Optional) Not used.

Default value: null

Return Return

(string|false) $value

Source Source

File: wp-includes/ms-blogs.php

	return $archived;
}

/**
 * Update a blog details field.
 *
 * @since MU (3.0.0)
 * @since 5.1.0 Use wp_update_site() internally.
 *
 * @global wpdb $wpdb WordPress database abstraction object.
 *
 * @param int    $blog_id    Blog ID.
 * @param string $pref       Field name.
 * @param string $value      Field value.
 * @param null   $deprecated Not used.
 * @return string|false $value
 */
function update_blog_status( $blog_id, $pref, $value, $deprecated = null ) {
	global $wpdb;

	if ( null !== $deprecated ) {
		_deprecated_argument( __FUNCTION__, '3.1.0' );
	}

Advertisement

Changelog Changelog

Changelog
Version Description
MU (3.0.0) MU (3.0.0)
5.1.0 Introduced.

Advertisement

Leave a Reply