File Editor
Directories:
.. (Back)
calypsoify
carousel
cloudflare-analytics
comment-likes
comments
contact-form
custom-css
custom-post-types
geo-location
google-analytics
gravatar
infinite-scroll
likes
markdown
masterbar
memberships
photon-cdn
plugin-search
post-by-email
related-posts
scan
seo-tools
sharedaddy
shortcodes
simple-payments
site-icon
sitemaps
sso
stats
subscriptions
theme-tools
tiled-gallery
verification-tools
videopress
widget-visibility
widgets
woocommerce-analytics
wordads
wpcom-block-editor
wpcom-tos
Files:
action-bar.php
blaze.php
carousel.php
comment-likes.php
comments.php
contact-form.php
copy-post.php
custom-content-types.php
custom-css.php
enhanced-distribution.php
geo-location.php
google-analytics.php
google-fonts.php
gravatar-hovercards.php
infinite-scroll.php
json-api.php
latex.php
lazy-images.php
likes.php
markdown.php
masterbar.php
module-extras.php
module-headings.php
module-info.php
monitor.php
notes.php
photon-cdn.php
photon.php
plugin-search.php
post-by-email.php
post-list.php
protect.php
publicize.php
related-posts.php
search.php
seo-tools.php
sharedaddy.php
shortcodes.php
shortlinks.php
sitemaps.php
sso.php
stats.php
subscriptions.php
theme-tools.php
tiled-gallery.php
vaultpress.php
verification-tools.php
videopress.php
waf.php
widget-visibility.php
widgets.php
woocommerce-analytics.php
wordads.php
wpgroho.js
Create New File
Create
Edit File: masterbar.php
<?php /** * Module Name: WordPress.com Toolbar and Dashboard customizations * Module Description: Replaces the admin bar with a useful toolbar to quickly manage your site via WordPress.com. Also adds additional customizations to the WPAdmin dashboard experience for better compatibility with WP.com. * Sort Order: 38 * Recommendation Order: 16 * First Introduced: 4.8 * Requires Connection: Yes * Requires User Connection: Yes * Auto Activate: No * Module Tags: General * Additional Search Queries: adminbar, masterbar, colorschemes, profile-edit * * @package automattic/jetpack */ namespace Automattic\Jetpack\Dashboard_Customizations; use Automattic\Jetpack\Status\Host; require __DIR__ . '/masterbar/masterbar/class-masterbar.php'; require __DIR__ . '/masterbar/admin-color-schemes/class-admin-color-schemes.php'; require __DIR__ . '/masterbar/inline-help/class-inline-help.php'; new Masterbar(); new Admin_Color_Schemes(); if ( ( new Host() )->is_woa_site() ) { new Inline_Help(); require_once __DIR__ . '/masterbar/wp-posts-list/bootstrap.php'; require_once __DIR__ . '/masterbar/profile-edit/bootstrap.php'; require_once __DIR__ . '/masterbar/nudges/bootstrap.php'; } /** * Whether to load the admin menu functionality. * * @use add_filter( 'jetpack_load_admin_menu_class', '__return_true' ); * @module masterbar * * @since 9.3.0 * * @param bool $load_admin_menu_class Load Jetpack's custom admin menu functionality. Default to false. */ if ( apply_filters( 'jetpack_load_admin_menu_class', false ) ) { require_once __DIR__ . '/masterbar/admin-menu/load.php'; }
Save Changes
Rename File
Rename