WordPress.org

Make WordPress Core

Changeset 26892


Ignore:
Timestamp:
01/02/2014 02:06:55 AM (8 years ago)
Author:
DrewAPicture
Message:

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

Props leewillis77, kpdesign.
Fixes #26196.

File:
1 edited

Legend:

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

    r25102 r26892  
    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();
Note: See TracChangeset for help on using the changeset viewer.