Make WordPress Core


Ignore:
Timestamp:
11/28/2014 11:02:49 AM (12 years ago)
Author:
DrewAPicture
Message:

4.1 Docs Audit: Improve inline documentation for various properties and methods in the WP_Customize_Panel class.

See #30469.

File:
1 edited

Legend:

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

    r30214 r30607  
    111111
    112112        /**
    113          * Callback.
     113         * Active callback.
    114114         *
    115115         * @since 4.1.0
     
    119119         *
    120120         * @var callable Callback is called with one argument, the instance of
    121          *               WP_Customize_Section, and returns bool to indicate whether
    122          *               the section is active (such as it relates to the URL
     121         *               {@see WP_Customize_Section}, and returns bool to indicate
     122         *               whether the section is active (such as it relates to the URL
    123123         *               currently being previewed).
    124124         */
     
    174174                 * @since 4.1.0
    175175                 *
    176                  * @param bool                 $active  Whether the Customizer panel is active.
    177                  * @param WP_Customize_Panel $panel WP_Customize_Panel instance.
     176                 * @param bool               $active  Whether the Customizer panel is active.
     177                 * @param WP_Customize_Panel $panel   {@see WP_Customize_Panel} instance.
    178178                 */
    179179                $active = apply_filters( 'customize_panel_active', $active, $panel );
     
    183183
    184184        /**
    185          * Default callback used when invoking WP_Customize_Panel::active().
     185         * Default callback used when invoking {@see WP_Customize_Panel::active()}.
    186186         *
    187187         * Subclasses can override this with their specific logic, or they may
     
    202202         * @since 4.1.0
    203203         *
    204          * @return array The array to be exported to the client as JSON
     204         * @return array The array to be exported to the client as JSON.
    205205         */
    206206        public function json() {
     
    237237         * @since 4.1.0
    238238         *
    239          * @return string
     239         * @return string Content for the panel.
    240240         */
    241241        public final function get_content() {
Note: See TracChangeset for help on using the changeset viewer.