Don’t you wish that the Jetpack Debugger tool was more accessible in wp-admin?
Right now, it’s tucked away in a link in the footer areas of the Jetpack sections.
To add this as a submenu item of Jetpack, add this snippet:
function add_jetpack_debug_menu_(){
if ( class_exists( 'Jetpack' ) ) {
add_submenu_page( 'jetpack', 'Jetpack Debug', 'Jetpack Debug', 'manage_options', '?page=jetpack-debugger' );
}
}
add_action('jetpack_admin_menu', 'add_jetpack_debug_menu_');
You can add this to the functions.php file of your active theme, but to be on the safe side, I highly recommend adding the snippet using the Code Snippets plugin.
After activating the snippet, the link will appear this way:
Enjoy! 🙂