delete_blog_option


delete_blog_option ( $id, $option )

Parameters:
  • (int) $id A blog ID. Can be null to refer to the current blog.
  • (string) $option Name of option to remove. Expected to not be SQL-escaped.
Returns:
  • (bool) True, if option is successfully deleted. False on failure.
Defined at:
Change Log:
  • M: U

Description

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

Related Functions

get_blog_option, delete_option, update_blog_option, add_blog_option, delete_user_option

Top Google Results

User discussions

wpseek mobile