WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/25/2020 04:39:36 PM (12 months ago)
Author:
SergeyBiryukov
Message:

Docs: Add a reference to WP_Customize_Control::__construct() for information on accepted arguments in WP_Customize_Manager::add_control().

Synchronize the documentation between two places, use WP_Customize_Control::__construct() as the canonical source.

Props hAmpzter, marekdedic, SergeyBiryukov.
Fixes #48343.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/customize/class-wp-customize-new-menu-control.php

    r47363 r47364  
    3939     * @param array                $args    Optional. Arguments to override class property defaults.
    4040     *                                      See WP_Customize_Control::__construct() for information
    41      *                                      on accepted arguments.
     41     *                                      on accepted arguments. Default empty array.
    4242     */
    4343    public function __construct( WP_Customize_Manager $manager, $id, array $args = array() ) {
Note: See TracChangeset for help on using the changeset viewer.