delete_option


delete_option ( $option )

Parameters:
  • (string) option Name of the option to delete. Expected to not be SQL-escaped.
Returns:
  • (bool) True if the option was deleted, false otherwise.
Defined at:

Description

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

Related Functions

delete_user_option, delete_blog_option, delete_site_option, get_option, update_option

Top Google Results

User discussions

wpseek mobile