Make WordPress Core


Ignore:
Timestamp:
04/14/2014 06:40:29 PM (12 years ago)
Author:
DrewAPicture
Message:

Inline documentation for hooks in wp-includes/class-wp-customize-widgets.php

Fixes #27531.

File:
1 edited

Legend:

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

    r28044 r28117  
    380380                                                'priority' => 1000 + array_search( $sidebar_id, array_keys( $wp_registered_sidebars ) ),
    381381                                        );
     382
     383                                        /**
     384                                         * Filter Customizer widget section arguments for a given sidebar.
     385                                         *
     386                                         * @since 3.9.0
     387                                         *
     388                                         * @param array      $section_args Array of Customizer widget section arguments.
     389                                         * @param string     $section_id   Customizer section ID.
     390                                         * @param int|string $sidebar_id   Sidebar ID.
     391                                         */
    382392                                        $section_args = apply_filters( 'customizer_widgets_section_args', $section_args, $section_id, $sidebar_id );
    383393
     
    14021412                if ( isset( $this->_captured_options[$option_name] ) ) {
    14031413                        $value = $this->_captured_options[$option_name];
     1414
     1415                        /** This filter is documented in wp-includes/option.php */
    14041416                        $value = apply_filters( 'option_' . $option_name, $value );
    14051417                }
Note: See TracChangeset for help on using the changeset viewer.