Changeset 47386 for trunk/src/wp-includes/class-wp-customize-manager.php
- Timestamp:
- 02/27/2020 08:27:45 PM (5 years ago)
- File:
-
- 1 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 */
Note: See TracChangeset
for help on using the changeset viewer.