Changeset 47386
- Timestamp:
- 02/27/2020 08:27:45 PM (5 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-manager.php
r47385 r47386 3900 3900 * @since 4.5.0 Return added WP_Customize_Section instance. 3901 3901 * 3902 * @see WP_Customize_Section::__construct() 3903 * 3902 3904 * @param WP_Customize_Section|string $id Customize Section object, or Section ID. 3903 * @param array $args { 3904 * Optional. Array of properties for the new Section object. Default empty array. 3905 * 3906 * @type int $priority Priority of the section, defining the display order 3907 * of panels and sections. Default 160. 3908 * @type string $panel The panel this section belongs to (if any). 3909 * Default empty. 3910 * @type string $capability Capability required for the section. 3911 * Default 'edit_theme_options' 3912 * @type string|string[] $theme_supports Theme features required to support the section. 3913 * @type string $title Title of the section to show in UI. 3914 * @type string $description Description to show in the UI. 3915 * @type string $type Type of the section. 3916 * @type callable $active_callback Active callback. 3917 * @type bool $description_hidden Hide the description behind a help icon, 3918 * instead of inline above the first control. 3919 * Default false. 3920 * } 3905 * @param array $args Optional. Array of properties for the new Section object. 3906 * See WP_Customize_Section::__construct() for information 3907 * on accepted arguments. Default empty array. 3921 3908 * @return WP_Customize_Section The instance of the section that was added. 3922 3909 */ -
trunk/src/wp-includes/class-wp-customize-section.php
r47385 r47386 151 151 * @param WP_Customize_Manager $manager Customizer bootstrap instance. 152 152 * @param string $id A specific ID of the section. 153 * @param array $args Section arguments. 153 * @param array $args { 154 * Optional. Array of properties for the new Section object. Default empty array. 155 * 156 * @type int $priority Priority of the section, defining the display order 157 * of panels and sections. Default 160. 158 * @type string $panel The panel this section belongs to (if any). 159 * Default empty. 160 * @type string $capability Capability required for the section. 161 * Default 'edit_theme_options' 162 * @type string|string[] $theme_supports Theme features required to support the section. 163 * @type string $title Title of the section to show in UI. 164 * @type string $description Description to show in the UI. 165 * @type string $type Type of the section. 166 * @type callable $active_callback Active callback. 167 * @type bool $description_hidden Hide the description behind a help icon, 168 * instead of inline above the first control. 169 * Default false. 170 * } 154 171 */ 155 172 public function __construct( $manager, $id, $args = array() ) {
Note: See TracChangeset
for help on using the changeset viewer.