A WordPress-centric search engine for devs and theme authors



delete_option_{$option} ›

Since3.0.0
Deprecatedn/a
do_action( "delete_option_{$option}", $option )
Parameters:
  • (string) $option Name of the deleted option.
    Required: Yes
Defined at:
Codex:

Fires after a specific option has been deleted.

The dynamic portion of the hook name, $option, refers to the option name.





Source

do_action( "delete_option_{$option}", $option );