Changeset 42039
- Timestamp:
- 10/29/2017 03:21:27 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-manager.php
r42034 r42039 3766 3766 * @param WP_Customize_Section|string $id Customize Section object, or Section ID. 3767 3767 * @param array $args { 3768 * Optional. Array of properties for the new Panelobject. Default empty array.3769 * @type int $priority Priority of the panel, defining the display order of panels and sections.3768 * Optional. Array of properties for the new Section object. Default empty array. 3769 * @type int $priority Priority of the section, defining the display order of panels and sections. 3770 3770 * Default 160. 3771 * @type string $panel Priority of the panel, defining the display order of panels and sections.3772 * @type string $capability Capability required for the panel. Default 'edit_theme_options'3773 * @type string|array $theme_supports Theme features required to support the panel.3774 * @type string $title Title of the panelto show in UI.3771 * @type string $panel The panel this section belongs to (if any). Default empty. 3772 * @type string $capability Capability required for the section. Default 'edit_theme_options' 3773 * @type string|array $theme_supports Theme features required to support the section. 3774 * @type string $title Title of the section to show in UI. 3775 3775 * @type string $description Description to show in the UI. 3776 * @type string $type Type of the panel.3776 * @type string $type Type of the section. 3777 3777 * @type callable $active_callback Active callback. 3778 * @type bool $description_hidden Hide the description behind a help icon, instead of . Default false.3778 * @type bool $description_hidden Hide the description behind a help icon, instead of inline above the first control. Default false. 3779 3779 * } 3780 3780 * @return WP_Customize_Section The instance of the section that was added.
Note: See TracChangeset
for help on using the changeset viewer.