WordPress.org

Make WordPress Core

Ticket #26196: 26196.4.diff

File 26196.4.diff, 924 bytes (added by DrewAPicture, 8 years ago)

Final pass

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

     
    6666                if ( ! $this->check_capabilities() )
    6767                        return;
    6868
     69                /**
     70                 * Fires before rendering a Customizer section.
     71                 *
     72                 * @since 3.4.0
     73                 *
     74                 * @param WP_Customize_Section $this The WP_Customize_Section instance.
     75                 */
    6976                do_action( 'customize_render_section', $this );
    70                 do_action( 'customize_render_section_' . $this->id );
     77                /**
     78                 * Fires before rendering a specific Customizer section.
     79                 *
     80                 * The dynamic portion of the hook name, $this->id, refers to the ID
     81                 * of the specific Customizer section to be rendered.
     82                 *
     83                 * @since 3.4.0
     84                 */
     85                do_action( "customize_render_section_{$this->id}" );
    7186
    7287                $this->render();
    7388        }