dynamic_sidebar_before, $index, true

dynamic_sidebar_before, $index, true

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: 7.0.3

do_action('dynamic_sidebar_before, $index, true') is found 1 times:

  • /wp-includes/widgets.php line 738
    	 * @param int|string $index       Index, name, or ID of the dynamic sidebar.
    	 * @param bool       $has_widgets Whether the sidebar is populated with widgets.
    	 *                                Default true.
    	 */
    	do_action( 'dynamic_sidebar_before', $index, true );
    
    	if ( ! is_admin() && ! empty( $sidebar['before_sidebar'] ) ) {
    		echo $sidebar['before_sidebar'];
    	}
    
    	$did_one = false;