jetpack_show_wpcom_site_logs_menu

jetpack_show_wpcom_site_logs_menu

Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: jetpack.12.6

apply_filters('jetpack_show_wpcom_site_logs_menu') is found 1 times:

  • /modules/masterbar/admin-menu/class-atomic-admin-menu.php line 400
    		 * @since 12.0
    		 *
    		 * @param bool $show_wpcom_site_logs_menu Load the WordPress.com Site Logs submenu item. Default to false.
    		 */
    		if ( apply_filters( 'jetpack_show_wpcom_site_logs_menu', false ) ) {
    			add_submenu_page( 'tools.php', esc_attr__( 'Site Logs', 'jetpack' ), __( 'Site Logs', 'jetpack' ), 'manage_options', 'https://wordpress.com/site-logs/' . $this->domain, null, 7 );
    		}
    	}
    
    	/**
    	 * Override the global submenu_file for theme-install.php page so the WP Admin menu item gets highlighted correctly.
    

See this hook used in plugins: