This commit is contained in:
2026-10-06 18:51:23 -06:00
parent 8424dacd03
commit e2c26b7f21
4223 changed files with 737986 additions and 53 deletions
@@ -0,0 +1,36 @@
<?php
/**
* The option page functionality of the plugin.
*
* @since 1.0.250
* @package RankMath
* @subpackage RankMath\Admin
* @author Rank Math <support@rankmath.com>
*/
namespace RankMath\Admin;
use RankMath\Helper;
defined( 'ABSPATH' ) || exit;
/**
* Register_Options_Page class.
*/
class Register_Options_Page {
/**
* The Constructor
*
* @param array $config Array of configuration.
*/
public function __construct( $config ) {
if ( ! Helper::is_react_enabled() ) {
new CMB2_Options( $config );
return;
}
$options_page = new Options( $config );
$options_page->register_option_page();
}
}