Lines:
1 to 36 of 36
<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName /** * Build the Jetpack admin menu as a whole. * * @package automattic/jetpack */ use Automattic\Jetpack\Assets\Logo as Jetpack_Logo; use Automattic\Jetpack\Partner_Coupon as Jetpack_Partner_Coupon; use Automattic\Jetpack\Status; use Automattic\Jetpack\Status\Host; /* class Jetpack_Admin */ /* function Jetpack_Admin::init() – Initialize and fetch the static instance. */ /* function Jetpack_Admin::add_no_store_header() – Filter callback to add `no-store` to the `Cache-Control` header. */ /* function Jetpack_Admin::__construct() – Constructor. */ /* function Jetpack_Admin::akismet_logo_replacement_styles() – Generate styles to replace Akismet logo for the Jetpack logo. It’s a workaround until we create a proper settings page for Jetpack Anti-Spam. Without this, we would have to change the logo from Akismet codebase and we want to avoid that. */ /* function Jetpack_Admin::additional_css_menu */ /* function Jetpack_Admin::customizer_redirect */ /* function Jetpack_Admin::theme_enhancements_redirect */ /* function Jetpack_Admin::customizer_link */ /* function Jetpack_Admin::sort_requires_connection_last() – Sort callback to put modules with `requires_connection` last. */ /* function Jetpack_Admin::get_modules() – Produce JS understandable objects of modules containing information for presentation like description, name, configuration url, etc. */ /* function Jetpack_Admin::is_module_available() – Check if a module is available. */ /* function Jetpack_Admin::get_module_unavailable_reason() – Returns why a module is unavailable. */ /* function Jetpack_Admin::handle_unrecognized_action() – Handle an unrecognized action. */ /* function Jetpack_Admin::fix_redirect() – Fix redirect. */ /* function Jetpack_Admin::admin_menu_debugger() – Add debugger admin menu. */ /* function Jetpack_Admin::wrap_debugger_page() – Wrap debugger page. */ /* function Jetpack_Admin::debugger_page() – Display debugger page. */ /* function Jetpack_Admin::should_display_jitms_on_screen() – Determines if JITMs should display on a particular screen. */ Jetpack_Admin::init();