register_sidebars


register_sidebars ( $number = 1, $args = array() )

Parameters:
  • (int) $number Optional. Number of sidebars to create. Default 1.
  • (array|string) $args { Optional. Array or string of arguments for building a sidebar.
See:
Defined at:

Description

Creates multiple sidebars.

If you wanted to quickly create multiple sidebars for a theme or internally. This function will allow you to do so. If you don't pass the 'name' and/or 'id' in $args, then they will be built for you.

Related Functions

register_sidebar, unregister_sidebar, is_registered_sidebar, register_sidebar_widget, unregister_sidebar_widget

Top Google Results

User discussions

wpseek mobile