Collections functions
General functions
Render functions
Theme permission functions
Resource functions



Return a data structure that will instruct the configuration page generator functions to
add a boolean configuration variable to the setup page.

to array('False', 'True') in the local language.


$config_var string the name of the configuration variable to be added.
$label string the user text displayed to label the select block. Usually a $lang string.
$choices ''
$width integer 420 the width of the input field in pixels. Default: 420.
$title null
$autosave false
$on_change_js null
$hidden false
array string $choices array of the text to display for the two choices: False and True. Defaults


include/config_functions.php lines 753 to 756


function config_add_boolean_select($config_var$label$choices ''$width 420$title null$autosave false,$on_change_js=null$hidden=false)
    return array(

This article was last updated 3rd October 2022 13:05 Europe/London time based on the source file dated 26th August 2022 16:20 Europe/London time.