Description
responsive_menu options
Usage
oikrm_options();Parameters
Returns
voidSource
File name: oik-responsive-menu/admin/oik-responsive-menu.phpLines:
1 to 15 of 15
function oikrm_options() { $option = 'oik_responsive_menu'; $options = bw_form_start( $option, 'oik_responsive_menu_options' ); $options['selector'] = bw_array_get_dcb( $options, "selector", null, "oikrm_default_selector" ); $options['minWidth'] = bw_array_get_dcb( $options, "minWidth", null, "oikrm_default_minwidth" ); bw_textfield_arr( $option, "menu selector", $options, 'selector', 50, null, "required " .kv("placeholder", oikrm_default_selector() ) ); bw_textfield_arr( $option, "minimum width", $options, 'minWidth', 10, null, "required " . kv( "placeholder", oikrm_default_minwidth() ) ); // bw_textfield_arr( $option, "thankyou text", $options, 'thankyou', 50, null, "required " . kv( "placeholder", oikrm_default_thankyou() ) ); bw_tablerow( array( "", "<input type=\"submit\" name=\"ok\" value=\"Save changes\" class=\"button-primary\"/>") ); etag( "table" ); etag( "form" ); bw_flush(); }
Called by
Invoked by
Calls
1 to 8 of 8
- bw_flush() – Use bw_flush() to echo the contents of $bwecho then empty it
- bw_form_start() – Start of a WordPress form for options fields
- bw_tablerow() – Display a table row or table head row when $tdtag = "th"
- bw_textfield_arr() – Create a textfield for an array options field
- etag() – Output an end tag
- kv() – Create a keyword value pair
- oikrm_default_minwidth() – Return the default minWidth, representing the pixel width of the window
- oikrm_default_selector() – Return the default selector bassed on the currently active theme
