PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 9.5
Jetpack – WP Security, Backup, Speed, & Growth v9.5
16.2-beta 12.0.3 12.1.3 12.2.3 12.3.2 12.4.2 12.5.2 12.6.4 12.7.3 12.8.3 12.9.5 13.0.2 13.1.5 13.2.4 13.3.3 13.4.5 13.5.2 13.6.2 13.7.2 13.8.3 13.9.2 14.0.1 14.1.1 14.2.2 14.3.1 All 501 releases
jetpack / modules / masterbar.php

masterbar.php in Jetpack – WP Security, Backup, Speed, & Growth 9.5, at modules/masterbar.php

45 lines 1.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Module Name: WordPress.com Toolbar and Dashboard customizations
4 * 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.
5 * Sort Order: 38
6 * Recommendation Order: 16
7 * First Introduced: 4.8
8 * Requires Connection: Yes
9 * Auto Activate: No
10 * Module Tags: General
11 * Additional Search Queries: adminbar, masterbar, colorschemes
12 *
13 * @package automattic/jetpack
14 */
15
16 namespace Automattic\Jetpack\Dashboard_Customizations;
17
18 require __DIR__ . '/masterbar/masterbar/class-masterbar.php';
19 require __DIR__ . '/masterbar/admin-color-schemes/class-admin-color-schemes.php';
20 require __DIR__ . '/masterbar/inline-help/class-inline-help.php';
21
22 new Masterbar();
23 new Admin_Color_Schemes();
24
25 if ( jetpack_is_atomic_site() ) {
26 new Inline_Help();
27 }
28
29 /**
30 * Whether to load the admin menu functionality.
31 *
32 * @use add_filter( 'jetpack_load_admin_menu_class', '__return_true' );
33 * @module masterbar
34 *
35 * @since 9.3.0
36 *
37 * @param bool $load_admin_menu_class Load Jetpack's custom admin menu functionality. Default to false.
38 */
39 if ( apply_filters( 'jetpack_load_admin_menu_class', false ) ) {
40 require_once __DIR__ . '/masterbar/admin-menu/load.php';
41
42 // Ensures Calypsoify does not modify the navigation.
43 add_filter( 'jetpack_calypsoify_override_nav', '__return_false' );
44 }
45