register_sidebar

register_sidebar

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.7

do_action('register_sidebar') is found 1 times:

  • /wp-includes/widgets.php line 327
    	 * @since 3.0.0
    	 *
    	 * @param array $sidebar Parsed arguments for the registered sidebar.
    	 */
    	do_action( 'register_sidebar', $sidebar );
    
    	return $sidebar['id'];
    }
    
    /**
     * Removes a sidebar from the list.