delete_option


delete_option ( $option )

Parameters:
  • (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:

Description

Removes option by name. Prevents removal of protected WordPress options.

Related Functions

delete_blog_option, delete_site_option, delete_user_option, get_option, update_option

Top Google Results

User discussions

wpseek mobile