delete_blog_option

SummerySummery

Removes option by name for a given blog id. Prevents removal of protected WordPress options.

Syntax

delete_blog_option( int $id, string $option )

ParametersParameters

$id

(int) (Required) A blog ID. Can be null to refer to the current blog.

$option

(string) (Required) Name of option to remove. Expected to not be SQL-escaped.

ReturnReturn

(bool) True, if option is successfully deleted. False on failure.

SourceSource

File: wp-includes/ms-blogs.php


			

ChangelogChangelog

Changelog
Version Description
MU (3.0.0) Introduced.
Scroll to Top