Submit
Path:
~
/
home
/
getwphos
/
www
/
preferredexotics
/
wp-content
/
plugins
/
seo-by-rank-math
/
includes
/
admin
/
File Content:
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; 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() { $this->run( [ new Bulk_Actions() ] ); 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(); } } }
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
database
---
0755
importers
---
0755
metabox
---
0755
notifications
---
0755
views
---
0755
watcher
---
0755
wizard
---
0755
class-admin-bar-menu.php
13021 bytes
0644
class-admin-breadcrumbs.php
1200 bytes
0644
class-admin-dashboard-nav.php
2916 bytes
0644
class-admin-header.php
4236 bytes
0644
class-admin-helper.php
13098 bytes
0644
class-admin-init.php
2186 bytes
0644
class-admin-menu.php
9633 bytes
0644
class-admin.php
18631 bytes
0644
class-api.php
6688 bytes
0644
class-ask-review.php
7267 bytes
0644
class-assets.php
10740 bytes
0644
class-bulk-actions.php
6028 bytes
0644
class-cmb2-fields.php
12881 bytes
0644
class-cmb2-options.php
12934 bytes
0644
class-dashboard-widget.php
6368 bytes
0644
class-import-export.php
2707 bytes
0644
class-list-table.php
1577 bytes
0644
class-lock-modified-date.php
3233 bytes
0644
class-notices.php
7337 bytes
0644
class-option-center.php
25217 bytes
0644
class-options.php
7169 bytes
0644
class-page.php
7364 bytes
0644
class-post-columns.php
13644 bytes
0644
class-post-filters.php
8988 bytes
0644
class-pro-notice.php
9110 bytes
0644
class-register-options-page.php
643 bytes
0644
class-registration.php
8040 bytes
0644
class-sanitize-settings.php
9652 bytes
0644
class-setup-wizard.php
4912 bytes
0644
index.php
28 bytes
0644
N4ST4R_ID | Naxtarrr