Description
Removes option by name for a given blog id. Prevents removal of protected WordPress options.
Usage
<?php delete_blog_option( $id, $option ) ?>
Parameters
- $id
- (integer) (required) A blog ID. Can be null to refer to the current blog.
- Default: current blog ID
- $option
- (string) (required) Name of option to remove. Expected to not be SQL-escaped.
- Default: None
Return Value
- (boolean)
- True, if option is successfully deleted. False on failure.
Examples
Notes
Change Log
Since: 3.0.0
Source File
delete_blog_option() is located in wp-includes/ms-blogs.php