uawdijnntqw1x1x1
IP : 18.227.102.254
Hostname : ns1.eurodns.top
Kernel : Linux ns1.eurodns.top 4.18.0-553.5.1.lve.1.el7h.x86_64 #1 SMP Fri Jun 14 14:24:52 UTC 2024 x86_64
Disable Function : mail,sendmail,exec,passthru,shell_exec,system,popen,curl_multi_exec,show_source,eval,open_base
OS : Linux
PATH:
/
home
/
sudancam
/
.trash
/
wp-content
/
plugins
/
seo-by-rank-math
/
.
/
includes
/
admin
/
class-admin-init.php
/
/
<?php /** * The admin bootstrap of the plugin. * * @since 1.0.9 * @package RankMath * @subpackage RankMath\Admin * @author Rank Math <support@rankmath.com> */ namespace RankMath\Admin; use RankMath\Helper; use RankMath\Updates; use RankMath\Traits\Hooker; use MyThemeShop\Helpers\Param; use MyThemeShop\Helpers\Conditional; use RankMath\Search_Console\Search_Console; defined( 'ABSPATH' ) || exit; /** * Admin_Init class. * * @codeCoverageIgnore */ class Admin_Init { use Hooker; /** * The Constructor. */ public function __construct() { rank_math()->admin = new Admin(); rank_math()->admin_assets = new Assets(); $this->load_review_reminders(); $this->load_pro_notice(); $this->load_setup_wizard(); $this->load_post_columns_and_filters(); $this->run( [ rank_math()->admin, rank_math()->admin_assets, new Admin_Menu(), new Option_Center(), new Notices(), new CMB2_Fields(), new Metabox\Metabox(), new Import_Export(), new Updates(), new Watcher(), ] ); /** * Fires when admin is loaded. */ $this->do_action( 'admin/loaded' ); } /** * Load out post list and edit screen class. */ private function load_post_columns_and_filters() { if ( Admin_Helper::is_post_list() || Admin_Helper::is_media_library() || wp_doing_ajax() ) { $this->run( [ new Post_Columns(), new Post_Filters(), ] ); } } /** * Load review tab in metabox & footer notice. */ private function load_review_reminders() { if ( get_option( 'rank_math_already_reviewed' ) ) { return; } $this->run( [ new Ask_Review() ] ); } /** * Load Pro reminder notice. */ private function load_pro_notice() { if ( ! is_main_site() ) { return; } if ( defined( 'RANK_MATH_PRO_FILE' ) || get_option( 'rank_math_already_upgraded' ) ) { return; } $this->run( [ new Pro_Notice() ] ); } /** * Run all the runners. * * @param array $runners Instances of runner classes. */ private function run( $runners ) { foreach ( $runners as $runner ) { $runner->hooks(); } } /** * Load setup wizard. */ private function load_setup_wizard() { if ( Helper::is_wizard() ) { new Setup_Wizard(); } } }
/home/sudancam/.trash/wp-content/plugins/seo-by-rank-math/./includes/admin/class-admin-init.php