You appear to be a bot. Output may be restricted
Description
Remove an option field from a set
Usage
$mixed = bw_delete_option( $field, $options );
Parameters
- $field
- ( string ) required – the option field to be removed
- $options
- ( string ) optional default: bw_options – the name of the options set
Returns
mixed $value – current values for the optionsSource
File name: oik-types/admin/oik-types.phpLines:
1 to 7 of 7
function bw_delete_option( $field, $options="bw_options" ) { $bw_options = get_option( $options ); unset( $bw_options[ $field ] ); // bw_trace2( $bw_options ); update_option( $options, $bw_options ); return( $options ); }View on GitHub