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

(int) (Required) Blog ID.

$pref

(string) (Required) Field name.

$value

(string) (Required) Field value.

$deprecated

(null) (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

This site uses Akismet to reduce spam. Learn how your comment data is processed.