Ticket #26196: 26196.3.diff
File 26196.3.diff, 945 bytes (added by , 11 years ago) |
---|
-
src/wp-includes/class-wp-customize-section.php
66 66 if ( ! $this->check_capabilities() ) 67 67 return; 68 68 69 /** 70 * Fires before rendering the supported Customizer sections. 71 * 72 * @since 3.4.0 73 * 74 * @param WP_Customize_Section $this The WP_Customize_Section object. 75 */ 69 76 do_action( 'customize_render_section', $this ); 70 do_action( 'customize_render_section_' . $this->id ); 77 /** 78 * Fires before rendering each supported Customizer section. 79 * 80 * The dynamic portion of the hook name, $this->id, refers to the ID 81 * of the supported Customizer section to be rendered. 82 * 83 * @since 3.4.0 84 */ 85 do_action( "customize_render_section_{$this->id}" ); 71 86 72 87 $this->render(); 73 88 }