Make WordPress Core


Ignore:
Timestamp:
11/10/2019 01:41:43 AM (6 years ago)
Author:
SergeyBiryukov
Message:

Docs: Move the @link tag for Customize API in WP_Customize_Manager::add_setting() and WP_Customize_Setting to a more appropriate place.

See #48303.

File:
1 edited

Legend:

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

    r46661 r46691  
    36753675     * @since 4.5.0 Return added WP_Customize_Setting instance.
    36763676     *
     3677     * @link https://developer.wordpress.org/themes/customize-api
     3678     *
    36773679     * @param WP_Customize_Setting|string $id   Customize Setting object, or ID.
    36783680     * @param array                       $args {
     
    36863688     *                                            Using 'refresh' makes the change visible by reloading the whole preview.
    36873689     *                                            Using 'postMessage' allows a custom JavaScript to handle live changes.
    3688      * @link https://developer.wordpress.org/themes/customize-api
    3689      *                                            Default is 'refresh'
     3690     *                                            Default is 'refresh'.
    36903691     *  @type callable     $validate_callback     Server-side validation callback for the setting's value.
    36913692     *  @type callable     $sanitize_callback     Callback to filter a Customize setting value in un-slashed form.
Note: See TracChangeset for help on using the changeset viewer.