WordPress.org

Make WordPress Core

Ticket #26196: 26196.2.diff

File 26196.2.diff, 944 bytes (added by leewillis77, 8 years ago)

Updated to remove non-hook docs, and other changes suggested.

  • src/wp-includes/class-wp-customize-section.php

     
    66142                if ( ! $this->check_capabilities() )
    67143                        return;
    68144
     145                /**
     146                 * Fires before rendering the suppported customizer sections.
     147                 *
     148                 * @since 3.4.0
     149                 *
     150                 * @param WP_Customize_Section $var The WP_Customize_Section object.
     151                 */
    69152                do_action( 'customize_render_section', $this );
    70                 do_action( 'customize_render_section_' . $this->id );
     153
     154                /**
     155                 * Fires before rendering each supported customizer sections.
     156                 *
     157                 * The dynamic portion of the hook name, $this->id, refers to the ID
     158                 * of the supported Customizer section to be rendered.
     159                 *
     160                 * @since 3.4.0
     161                 */
     162                do_action( "customize_render_section_{$this->id}" );
    71163
    72164                $this->render();
    73165        }