Methods
1 to 23 of 23
- A8C_WPCOM_Masterbar::__construct() – Constructor
- A8C_WPCOM_Masterbar::add_me_submenu() – Add User info menu item.
- A8C_WPCOM_Masterbar::add_my_home_submenu_item() – Adds "My Home" submenu item to sites that are eligible.
- A8C_WPCOM_Masterbar::add_my_sites_submenu() – Add the "My Site" menu item in the root default group.
- A8C_WPCOM_Masterbar::add_notifications() – Add the Notifications menu item.
- A8C_WPCOM_Masterbar::add_reader_submenu() – Add the "Reader" menu item in the root default group.
- A8C_WPCOM_Masterbar::add_styles_and_scripts() – Enqueue our own CSS and JS to display our custom admin bar.
- A8C_WPCOM_Masterbar::add_write_button() – Add Write Menu item.
- A8C_WPCOM_Masterbar::admin_body_class() – Adds CSS classes to admin body tag.
- A8C_WPCOM_Masterbar::build_wpcom_masterbar() – Add entries corresponding to WordPress.com Masterbar
- A8C_WPCOM_Masterbar::clear_core_masterbar() – Remove all existing toolbar entries from core Masterbar
- A8C_WPCOM_Masterbar::create_menu_item_anchor() – Create a link tag based on information about a menu item.
- A8C_WPCOM_Masterbar::create_menu_item_pair() – Merge 2 menu items together into 2 link tags.
- A8C_WPCOM_Masterbar::get_locale() – Get WordPress.com current locale name.
- A8C_WPCOM_Masterbar::get_rtl_admin_bar_class() – Get class name for RTL sites.
- A8C_WPCOM_Masterbar::init() – Initialize our masterbar.
- A8C_WPCOM_Masterbar::is_my_home_enabled() – Calls the wpcom API to get the creation date of the site and determine if it’s eligible for the ‘My Home’ page.
- A8C_WPCOM_Masterbar::is_rtl() – Check if the user settings are for an RTL language or not.
- A8C_WPCOM_Masterbar::maybe_logout_user_from_wpcom() – Log out from WordPress.com when logging out of the local site.
- A8C_WPCOM_Masterbar::remove_core_styles() – Remove the default Admin Bar CSS.
- A8C_WPCOM_Masterbar::replace_core_masterbar() – Remove the default admin bar items and replace it with our own admin bar.
- A8C_WPCOM_Masterbar::wpcom_adminbar_add_secondary_groups() – Add Secondary groups for submenu items.
- A8C_WPCOM_Masterbar::wpcom_static_url() – Get base URL where our CSS and JS will come from.