wpseek.com
A WordPress-centric search engine for devs and theme authors



get_site_editor_menu_items › WordPress Function

Sincen/a
Deprecatedn/a
get_site_editor_menu_items ( No parameters )
Returns:
  • (array) Array of menu item objects.
Defined at:
Codex:

Get all registered menu items for the site-editor page.



Source

function get_site_editor_menu_items() {
		global $wp_site_editor_menu_items;
		return $wp_site_editor_menu_items ?? array();
	}
}