wphooks.info - register_sidebar

register_sidebar

(trunk - 5.0-alpha-42177)

The hook occurs in the following file:

wp-includes/widgets.php:
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
	add_theme_support('widgets');

	/**
	 * Fires once a sidebar has been registered.
	 *
	 * @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.
 *
 * @since 2.2.0
 *