| 2796 | | * @param array $args Setting arguments; passed to WP_Customize_Setting |
| 2797 | | * constructor. |
| | 2796 | * @param array $args { |
| | 2797 | * Optional. Array of properties for the new WP_Customize_Setting. Default empty array. |
| | 2798 | * |
| | 2799 | * @type string $type Type of the setting. Default 'theme_mod'. |
| | 2800 | * Default 160. |
| | 2801 | * @type string $capability Capability required for the setting. Default 'edit_theme_options' |
| | 2802 | * @type string|array $theme_supports Theme features required to support the panel. Default is none. |
| | 2803 | * @type string $default Default value for the setting. Default is empty string. |
| | 2804 | * @type string $transport Options for rendering the live preview of changes in Theme Customizer. |
| | 2805 | * Using 'refresh' makes the change visible by reloading the whole preview. |
| | 2806 | * Using 'postMessage' allows a custom JavaScript to handle live changes. |
| | 2807 | * @link https://developer.wordpress.org/themes/customize-api |
| | 2808 | * Default is 'refresh' |
| | 2809 | * @type callable $validate_callback Server-side validation callback for the setting's value. |
| | 2810 | * @type callable $sanitize_callback Callback to filter a Customize setting value in un-slashed form. |
| | 2811 | * @type callable $sanitize_js_callback Callback to convert a Customize PHP setting value to a value that is |
| | 2812 | * JSON serializable. |
| | 2813 | * @type bool $dirty Whether or not the setting is initially dirty when created. |
| | 2814 | * } |
| 2914 | | * @param array $args Optional. Panel arguments. Default empty array. |
| | 2931 | * @param array $args { |
| | 2932 | * Optional. Array of properties for the new Panel object. Default empty array. |
| | 2933 | * |
| | 2934 | * @type int $priority Priority of the panel, defining the display order of panels and sections. |
| | 2935 | * Default 160. |
| | 2936 | * @type string $capability Capability required for the panel. Default `edit_theme_options` |
| | 2937 | * @type string|array $theme_supports Theme features required to support the panel. |
| | 2938 | * @type string $title Title of the panel to show in UI. |
| | 2939 | * @type string $description Description to show in the UI. |
| | 2940 | * @type string $type Type of the panel. |
| | 2941 | * @type callable $active_callback Active callback. |
| | 2942 | * } |
| 3003 | | * @param array $args Section arguments. |
| | 3031 | * @param array $args { |
| | 3032 | * Optional. Array of properties for the new Panel object. Default empty array. |
| | 3033 | * |
| | 3034 | * @type int $priority Priority of the panel, defining the display order of panels and sections. |
| | 3035 | * Default 160. |
| | 3036 | * @type string $panel Priority of the panel, defining the display order of panels and sections. |
| | 3037 | * @type string $capability Capability required for the panel. Default 'edit_theme_options' |
| | 3038 | * @type string|array $theme_supports Theme features required to support the panel. |
| | 3039 | * @type string $title Title of the panel to show in UI. |
| | 3040 | * @type string $description Description to show in the UI. |
| | 3041 | * @type string $type Type of the panel. |
| | 3042 | * @type callable $active_callback Active callback. |
| | 3043 | * @type bool $description_hidden Hide the description behind a help icon, instead of . Default false. |
| | 3044 | * } |
| 3079 | | * @param array $args Control arguments; passed to WP_Customize_Control |
| 3080 | | * constructor. |
| | 3120 | * @param array $args { |
| | 3121 | * Optional. Array of properties for the new Control object. Default empty array. |
| | 3122 | * |
| | 3123 | * @type array $settings All settings tied to the control. If undefined, defaults to `$setting`. |
| | 3124 | * IDs in the array correspond to the ID of a registered `WP_Customize_Setting`. |
| | 3125 | * @type string $setting The primary setting for the control (if there is one). Default is 'default'. |
| | 3126 | * @type string $capability Capability required to use this control. Normally derived from `$settings`. |
| | 3127 | * @type int $priority Order priority to load the control. Default 10. |
| | 3128 | * @type string $section The section this control belongs to. Default empty. |
| | 3129 | * @type string $label Label for the control. Default empty. |
| | 3130 | * @type string $description Description for the control. Default empty. |
| | 3131 | * @type array $choices List of choices for 'radio' or 'select' type controls, where values |
| | 3132 | * are the keys, and labels are the values. Default empty array. |
| | 3133 | * @type array $input_attrs List of custom input attributes for control output, where attribute |
| | 3134 | * names are the keys and values are the values. Default empty array. |
| | 3135 | * @type bool $allow_addition Show UI for adding new content, currently only used for the |
| | 3136 | * dropdown-pages control. Default false. |
| | 3137 | * @type string $type The type of the control. Default 'text'. |
| | 3138 | * @type callback $active_callback Active callback. |
| | 3139 | * } |