WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/27/2020 08:07:31 PM (17 months ago)
Author:
SergeyBiryukov
Message:

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

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

Props tmanoilov, marekdedic.
Fixes #48347.

File:
1 edited

Legend:

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

    r47364 r47384  
    175175     * @param string               $id      Control ID.
    176176     * @param array                $args    {
    177      *     Optional. Arguments to override class property defaults.
     177     *     Optional. Array of properties for the new Control object. Default empty array.
    178178     *
    179179     *     @type int                  $instance_number Order in which this instance was created in relation
Note: See TracChangeset for help on using the changeset viewer.