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 the option was deleted, false otherwise.
Defined at:
Change Log:
  • M: U

Description

Removes an 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_site_option

Top Google Results

User discussions

wpseek mobile