Changeset 47364
- Timestamp:
- 02/25/2020 04:39:36 PM (5 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-control.php
r47198 r47364 185 185 * @type string $setting The primary setting for the control (if there is one). 186 186 * Default 'default'. 187 * @type string $capability Capability required to use this control. Normally this is empty 188 * and the capability is derived from `$settings`. 187 189 * @type int $priority Order priority to load the control. Default 10. 188 190 * @type string $section Section the control belongs to. Default empty. … … 196 198 * used for 'checkbox', 'radio', 'select', 'textarea', or 197 199 * 'dropdown-pages' control types. Default empty array. 200 * @type bool $allow_addition Show UI for adding new content, currently only used for the 201 * dropdown-pages control. Default false. 198 202 * @type array $json Deprecated. Use WP_Customize_Control::json() instead. 199 203 * @type string $type Control type. Core controls include 'text', 'checkbox', … … 201 205 * input types such as 'email', 'url', 'number', 'hidden', and 202 206 * 'date' are supported implicitly. Default 'text'. 207 * @type callback $active_callback Active callback. 203 208 * } 204 209 */ -
trunk/src/wp-includes/class-wp-customize-manager.php
r47233 r47364 3994 3994 * 3995 3995 * @param WP_Customize_Control|string $id Customize Control object, or ID. 3996 * @param array $args { 3997 * Optional. Array of properties for the new Control object. Default empty array. 3998 * 3999 * @type array $settings All settings tied to the control. If undefined, defaults to `$setting`. 4000 * IDs in the array correspond to the ID of a registered `WP_Customize_Setting`. 4001 * @type string $setting The primary setting for the control (if there is one). Default is 'default'. 4002 * @type string $capability Capability required to use this control. Normally derived from `$settings`. 4003 * @type int $priority Order priority to load the control. Default 10. 4004 * @type string $section The section this control belongs to. Default empty. 4005 * @type string $label Label for the control. Default empty. 4006 * @type string $description Description for the control. Default empty. 4007 * @type array $choices List of choices for 'radio' or 'select' type controls, where values 4008 * are the keys, and labels are the values. Default empty array. 4009 * @type array $input_attrs List of custom input attributes for control output, where attribute 4010 * names are the keys and values are the values. Default empty array. 4011 * @type bool $allow_addition Show UI for adding new content, currently only used for the 4012 * dropdown-pages control. Default false. 4013 * @type string $type The type of the control. Default 'text'. 4014 * @type callback $active_callback Active callback. 4015 * } 3996 * @param array $args Optional. Array of properties for the new Control object. 3997 * See WP_Customize_Control::__construct() for information 3998 * on accepted arguments. Default empty array. 4016 3999 * @return WP_Customize_Control The instance of the control that was added. 4017 4000 */ -
trunk/src/wp-includes/customize/class-wp-customize-color-control.php
r47363 r47364 48 48 * @param array $args Optional. Arguments to override class property defaults. 49 49 * See WP_Customize_Control::__construct() for information 50 * on accepted arguments. 50 * on accepted arguments. Default empty array. 51 51 */ 52 52 public function __construct( $manager, $id, $args = array() ) { -
trunk/src/wp-includes/customize/class-wp-customize-media-control.php
r47363 r47364 50 50 * @param array $args Optional. Arguments to override class property defaults. 51 51 * See WP_Customize_Control::__construct() for information 52 * on accepted arguments. 52 * on accepted arguments. Default empty array. 53 53 */ 54 54 public function __construct( $manager, $id, $args = array() ) { -
trunk/src/wp-includes/customize/class-wp-customize-nav-menu-item-control.php
r47363 r47364 44 44 * @param array $args Optional. Arguments to override class property defaults. 45 45 * See WP_Customize_Control::__construct() for information 46 * on accepted arguments. 46 * on accepted arguments. Default empty array. 47 47 */ 48 48 public function __construct( $manager, $id, $args = array() ) { -
trunk/src/wp-includes/customize/class-wp-customize-new-menu-control.php
r47363 r47364 39 39 * @param array $args Optional. Arguments to override class property defaults. 40 40 * See WP_Customize_Control::__construct() for information 41 * on accepted arguments. 41 * on accepted arguments. Default empty array. 42 42 */ 43 43 public function __construct( WP_Customize_Manager $manager, $id, array $args = array() ) { -
trunk/src/wp-includes/customize/class-wp-customize-site-icon-control.php
r47363 r47364 36 36 * @param array $args Optional. Arguments to override class property defaults. 37 37 * See WP_Customize_Control::__construct() for information 38 * on accepted arguments. 38 * on accepted arguments. Default empty array. 39 39 */ 40 40 public function __construct( $manager, $id, $args = array() ) {
Note: See TracChangeset
for help on using the changeset viewer.