You appear to be a bot. Output may be restricted
Description
Return the value for the bw_scheduled option fieldNote: A stored value of null will cause the default value to be returned
Usage
$string = oik_batchmove_scheduled_option( $option, $set );
Parameters
- $option
- ( string ) required – the name of the option field
- $set
- ( mixed ) optional default: bw_scheduled –
Returns
string the value of the field.Source
File name: oik-batchmove/admin/oik-batchmove-cron.phpLines:
1 to 9 of 9
function oik_batchmove_scheduled_option( $option, $set="bw_scheduled" ) { $value = bw_get_option( $option, $set ); if ( $value ) { // OK, return this. Don't worry about sanitization } else { $value = oik_batchmove_scheduled_option_default( $option ); } return( $value ); }View on GitHub View on Trac