id ) || empty( $admin_page_hooks ) ) { return false; } $settings_page = false; if ( ! empty( $admin_page_hooks['monsterinsights_settings'] ) && $current_screen->id === $admin_page_hooks['monsterinsights_settings'] ) { $settings_page = true; } if ( ! empty( $admin_page_hooks['monsterinsights_reports'] ) && $current_screen->id === $admin_page_hooks['monsterinsights_reports'] ) { $settings_page = true; } if ( $current_screen->id === 'toplevel_page_monsterinsights_settings' ) { $settings_page = true; } if ( $current_screen->id === 'insights_page_monsterinsights_settings' ) { $settings_page = true; } if ( $current_screen->id === 'insights_page_monsterinsights_tracking' ) { $settings_page = true; } if ( ! empty( $current_screen->base ) && strpos( $current_screen->base, 'monsterinsights_network' ) !== false ) { $settings_page = true; } return $settings_page; } /** * Callback to output the MonsterInsights settings page. * * @since 6.0.0 * @access public * * @return void */ function monsterinsights_settings_page() { /** * Developer Alert: * * Per the README, this is considered an internal hook and should * not be used by other developers. This hook's behavior may be modified * or the hook may be removed at any time, without warning. */ do_action( 'monsterinsights_head' ); ?>

 

/>