delete_option_$option

delete_option_$option

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.2

do_action('delete_option_$option') is found 1 times:

  • /wp-includes/option.php line 1256
    1252
    1253
    1254
    1255
    1256
    1257
    1258
    1259
    1260
    1261
    1262
    * @since 3.0.0
     *
     * @param string $option Name of the deleted option.
     */
    do_action( "delete_option_{$option}", $option );
     
    /**
     * Fires after an option has been deleted.
     *
     * @since 2.9.0
     *

See this hook used in plugins: