* @license GPL-2.0+ * @link https://rankmath.com/wordpress/plugin/seo-suite/ * @copyright 2019 Rank Math */ use RankMath\Helper; use RankMath\Helpers\Param; defined( 'ABSPATH' ) || exit; $default_tab = apply_filters( 'rank_math/tools/default_tab', 'status' ); $module = Helper::get_module( 'status' ); $current = Param::get( 'view', $default_tab ); if ( ! in_array( $current, array_keys( apply_filters( 'rank_math/tools/pages', [] ) ), true ) ) { Helper::redirect( Helper::get_admin_url( 'status' ) ); exit; } // Header. rank_math()->admin->display_admin_header(); ?>
display_nav(); ?>
display_body( $current ); ?>