Description
Display the oik-themes server options
Usage
oik_themes_server_options();Parameters
Returns
voidSource
File name: oik-themes/admin/oik-themes.phpLines:
1 to 14 of 14
function oik_themes_server_options() { $option = 'bw_themes_server'; $options = bw_form_start( $option, 'oik_themes_server' ); bw_textfield_arr( $option, "Folder for premium themes", $options, 'zipdir', 40 ); //bw_textfield_arr( $option, "Author", $options, 'author', 30 ); // Do we have a field for "users" ? //bw_select_arr( $option, "Author name", $options, "display_name", array( "#options" => bw_user_list() )); // bw_form_field_noderef( "bw_themes_server[author_id], "", "Author", $options['author_id'], array( "#type" => "user" )); //bw_form_field_noderef( "bw_themes_server[faq]", "", "FAQ page", $options['faq'], array( "#type" => "page", "#optional" => true )); etag( "table" ); p( isubmit( "ok", "Update", null, "button-primary" ) ); etag( "form" ); bw_flush(); }View on GitHub
Called by
Invoked by
Calls
1 to 6 of 6
- 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_textfield_arr() – Create a textfield for an array options field
- etag() – Output an end tag
- isubmit() – Create a submit button
- p() – Output a paragraph of translatable text
Call hooks
API Letters:
