Widget_Sidebar::get_categories()
Get widget categories.
Description
Retrieve the list of categories the sidebar widget belongs to.
Used to determine where to display the widget in the editor.
Return
(array) Widget categories.
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |
Source
includes/widgets/sidebar.php
if ( ! $wp_registered_sidebars ) { $options[''] = __( 'No sidebars were found', 'elementor' );