mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 21:08:44 +01:00
Customize: Fix phpdoc for params in WP_Customize_Manager::add_section()
.
Amends [40804]. See #39671. Fixes #42372. git-svn-id: https://develop.svn.wordpress.org/trunk@42039 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
3c7bf038d8
commit
8f0dbb4f43
@ -3765,17 +3765,17 @@ final class WP_Customize_Manager {
|
||||
*
|
||||
* @param WP_Customize_Section|string $id Customize Section object, or Section ID.
|
||||
* @param array $args {
|
||||
* Optional. Array of properties for the new Panel object. Default empty array.
|
||||
* @type int $priority Priority of the panel, defining the display order of panels and sections.
|
||||
* Optional. Array of properties for the new Section object. Default empty array.
|
||||
* @type int $priority Priority of the section, defining the display order of panels and sections.
|
||||
* Default 160.
|
||||
* @type string $panel Priority of the panel, defining the display order of panels and sections.
|
||||
* @type string $capability Capability required for the panel. Default 'edit_theme_options'
|
||||
* @type string|array $theme_supports Theme features required to support the panel.
|
||||
* @type string $title Title of the panel to show in UI.
|
||||
* @type string $panel The panel this section belongs to (if any). Default empty.
|
||||
* @type string $capability Capability required for the section. Default 'edit_theme_options'
|
||||
* @type string|array $theme_supports Theme features required to support the section.
|
||||
* @type string $title Title of the section to show in UI.
|
||||
* @type string $description Description to show in the UI.
|
||||
* @type string $type Type of the panel.
|
||||
* @type string $type Type of the section.
|
||||
* @type callable $active_callback Active callback.
|
||||
* @type bool $description_hidden Hide the description behind a help icon, instead of . Default false.
|
||||
* @type bool $description_hidden Hide the description behind a help icon, instead of inline above the first control. Default false.
|
||||
* }
|
||||
* @return WP_Customize_Section The instance of the section that was added.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user