jetpack_show_wpcom_github_deployments_menu
jetpack_show_wpcom_github_deployments_menu
Hook Type: filter
Displaying hooks found in version: jetpack.13.2.1apply_filters('jetpack_show_wpcom_github_deployments_menu') is found 1 times:
- /modules/masterbar/admin-menu/class-atomic-admin-menu.php line 463460461462463464465466467468469
/**
* Adds the WordPress.com GitHub Deployments submenu under the main Tools menu.
*/
if
( apply_filters(
'jetpack_show_wpcom_github_deployments_menu'
, false ) ) {
add_submenu_page(
'tools.php'
, esc_attr__(
'GitHub Deployments'
,
'jetpack'
), __(
'GitHub Deployments'
,
'jetpack'
),
'manage_options'
,
'https://wordpress.com/github-deployments/'
.
$this
->domain, null, 7 );
}
}
/**
* Override the
global
submenu_file
for
theme-install.php page so the WP Admin menu item gets highlighted correctly.