📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: LiteSpeed
2026-06-28 23:09:36
📂
/ (Root)
/
home
/
apkbfjox
/
y888.online
/
wp-content
/
plugins
/
seo-by-rank-math
/
includes
/
modules
/
schema
/
blocks
📍 /home/apkbfjox/y888.online/wp-content/plugins/seo-by-rank-math/includes/modules/schema/blocks
🔄 Refresh
✏️
Editing: class-admin.php
Writable
<?php /** * The Block Admin * * @since 1.0.104 * @package RankMath * @subpackage RankMath\Schema * @author Rank Math <support@rankmath.com> */ namespace RankMath\Schema\Blocks; use RankMath\Helper; use RankMath\Traits\Hooker; use RankMath\Helpers\Arr; defined( 'ABSPATH' ) || exit; /** * Block Admin class. */ class Admin { use Hooker; /** * The Constructor. */ public function __construct() { $this->filter( 'rank_math/settings/general', 'add_general_settings' ); } /** * Add block settings into general optional panel. * * @param array $tabs Array of option panel tabs. * * @return array */ public function add_general_settings( $tabs ) { Arr::insert( $tabs, [ 'blocks' => [ 'icon' => 'rm-icon rm-icon-stories', 'title' => esc_html__( 'Blocks', 'seo-by-rank-math' ), 'desc' => esc_html__( 'Take control over the default settings available for Rank Math Blocks.', 'seo-by-rank-math' ), 'file' => __DIR__ . '/views/options-general.php', ], ], 7 ); return $tabs; } }
💾 Save Changes
❌ Cancel