• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Jetpack a2z

Jetpack a2z

Jetpack a2z

  • Home
  • Plugins
  • Blocks
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / Classes / A8C_WPCOM_Masterbar

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.

Extended by

Class name: A8C_WPCOM_Masterbar
Plugin ref: Jetpack
Version: 11.0
Sourcefile: modules/masterbar/masterbar.php
File ref: modules/masterbar/masterbar.php
API Letters: A,M,W

Related

Published: 27 November 2019 | Last updated: 21 August 2020

Primary Sidebar

Information

Class name: A8C_WPCOM_Masterbar
Plugin ref: Jetpack
Version: 11.0
Sourcefile: modules/masterbar/masterbar.php
File ref: modules/masterbar/masterbar.php
API Letters: A,M,W

Footer

Jetpack a2z
Jetpack a2z
Jetpack a2z
WordPress 6.0
WordPress a2z
WordPress core a2z
Genesis Theme Framework a2z
Jetpack a2z
WordPress develop tests
Easy Digital Downloads a2z
WooCommerce a2z
Yoast SEO a2z
WordPress Blocks

Site:  jetpack.wp-a2z.org
© Copyright Jetpack a2z 2014-2022. All rights reserved.


Website designed and developed by Herb Miller
Proudly powered by WordPress and oik plugins

  • Home
  • Blog
  • Sitemap
  • Sites