Methods
1 to 30 of 30
- Base_Admin_Menu::add_admin_menu_separator() – Adds a menu separator.
- Base_Admin_Menu::add_dashboard_switcher() – Adds a dashboard switcher to the list of screen meta links of the current page.
- Base_Admin_Menu::admin_body_class() – Adds the necessary CSS class to the admin body class.
- Base_Admin_Menu::configure_colors_for_rtl_stylesheets() – Mark the core colors stylesheets as RTL depending on the value from the environment.
- Base_Admin_Menu::dashboard_switcher_scripts() – Adds a script to append the dashboard switcher to screen meta
- Base_Admin_Menu::enqueue_scripts() – Enqueues scripts and styles.
- Base_Admin_Menu::get_current_screen() – Gets the identifier of the current screen.
- Base_Admin_Menu::get_instance() – Returns class instance.
- Base_Admin_Menu::get_preferred_view() – Get the preferred view for the given screen.
- Base_Admin_Menu::get_preferred_views() – Get the preferred views for all screens.
- Base_Admin_Menu::get_submenu_item_count() – Return the number of existing submenu items under the supplied parent slug.
- Base_Admin_Menu::handle_preferred_view_ajax() – Handles AJAX requests setting a preferred view for a given screen.
- Base_Admin_Menu::handle_preferred_view() – Stores the preferred view for the current screen.
- Base_Admin_Menu::has_visible_items() – Check if the menu has submenu items visible
- Base_Admin_Menu::hide_parent_of_hidden_submenus() – Hide menus that are unauthorized and don’t have visible submenus and cases when the menu has the same slug as the first submenu item.
- Base_Admin_Menu::hide_submenu_element() – Apply the hide-if-js CSS class to a submenu item.
- Base_Admin_Menu::hide_submenu_page() – Hide the submenu page based on slug and return the item that was hidden.
- Base_Admin_Menu::is_item_visible() – Check if the given item is visible or not in the admin menu.
- Base_Admin_Menu::is_rtl() – Determines whether the current locale is right-to-left (RTL).
- Base_Admin_Menu::override_svg_icons() – Checks for any SVG icons in the menu, and overrides things so that we can display the icon in the correct colour for the theme.
- Base_Admin_Menu::reregister_menu_items() – Create the desired menu output.
- Base_Admin_Menu::rest_api_init() – Sets up class properties for REST API requests.
- Base_Admin_Menu::set_is_api_request() – Determine if the current request is from API
- Base_Admin_Menu::set_menu_item() – Adds the given menu item in the specified position.
- Base_Admin_Menu::set_preferred_view() – Sets the given view as preferred for the givens screen.
- Base_Admin_Menu::set_site_icon_inline_styles() – Injects inline-styles for site icon for when third-party plugins remove enqueued stylesheets.
- Base_Admin_Menu::should_link_to_wp_admin() – Whether to use wp-admin pages rather than Calypso.
- Base_Admin_Menu::sort_hidden_submenus() – Sort the hidden submenus by moving them at the end of the array in order to avoid WP using them as default URLs.
- Base_Admin_Menu::update_menu() – Updates the menu data of the given menu slug.
- Base_Admin_Menu::update_submenus() – Updates the submenus of the given menu slug.