Свойство | Type | Description | |
---|---|---|---|
$block_page_rendering_for_idc | boolean | Should we block the page rendering because the site is in IDC? | |
$plan_checked | boolean | Flag to know if we already checked the plan. |
Méthode | Description | |
---|---|---|
__construct ( ) | ||
add_actions ( ) | ||
add_page_actions ( $hook ) | Add page specific actions given the page hook | |
additional_styles ( ) | Function called after admin_styles to load any additional needed styles. | |
admin_head ( ) | ||
admin_help ( ) | ||
admin_page_bottom ( ) | ||
admin_page_load ( ) | ||
admin_page_top ( ) | ||
admin_scripts ( ) | Add page specific scripts and jetpack stats for all menu pages | |
admin_styles ( ) | Enqueue the Jetpack admin stylesheet | |
check_plan_deactivate_modules ( $page ) : boolean | array | Checks the site plan and deactivates modules that were active but are no longer included in the plan. | |
get_page_hook ( ) | Create a menu item for the page and returns the hook | |
is_rest_api_enabled ( ) : boolean | Checks if REST API is enabled. | |
is_wp_version_too_old ( ) : boolean | Checks if WordPress version is too old to have REST API. | |
page_admin_scripts ( ) | Enqueue and localize page specific scripts | |
page_render ( ) | Render page specific HTML | |
render ( ) | Render the page with a common top and bottom part, and page specific content |
abstract public add_page_actions ( $hook ) |
public additional_styles ( ) |
public admin_scripts ( ) |
public check_plan_deactivate_modules ( $page ) : boolean | array | ||
$page | ||
Résultat | boolean | array |
abstract public get_page_hook ( ) |
public is_rest_api_enabled ( ) : boolean | ||
Résultat | boolean |
public is_wp_version_too_old ( ) : boolean | ||
Résultat | boolean |
abstract public page_admin_scripts ( ) |
public render ( ) |
static public bool $block_page_rendering_for_idc | ||
Résultat | boolean |
static public bool $plan_checked | ||
Résultat | boolean |