Widget_Text_Editor::get_categories()
Get widget categories.
Description
Retrieve the list of categories the text editor widget belongs to.
Used to determine where to display the widget in the editor.
Return
(array) Widget categories.
Changelog
Version | Description |
---|---|
2.0.0 | Introduced. |
Source
includes/widgets/text-editor.php
public function get_categories() { return [ 'basic' ]; }