You appear to be a bot. Output may be restricted
Description
Start of a WordPress form for options fields
Usage
$array = bw_form_start( $option, $settings, $action );
Parameters
- $option
- ( string ) required – name of the options field e.g. "bw_privacy_policy" ( 2nd parm to register_setting())
- $settings
- ( string ) required – name of the "settings" e.g. "oik_privacy_policy_options" (1st parm to register_setting())
- $action
- ( string ) optional default: options.php – for the form – defaults to "options.php"
Returns
array $options – the stored options settingsSource
File name: oik-bwtrace/libs/bobbforms.phpLines:
1 to 8 of 8
function bw_form_start( $option, $settings, $action="options.php" ) { bw_form( $action ); $options = get_option( $option ); stag( 'table', "form-table" ); bw_flush(); settings_fields( $settings ); return( $options ); }View on GitHub View on Trac