- WordPress core y plugins - Tema Twenty Twenty-Four configurado - Plugin allow-unfiltered-html.php simplificado - .gitignore configurado para excluir wp-config.php y uploads 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
32 lines
586 B
PHP
Executable File
32 lines
586 B
PHP
Executable File
<?php
|
|
/**
|
|
* The Wizard pages helper.
|
|
*
|
|
* @since 1.0.3
|
|
* @package RankMath
|
|
* @subpackage RankMath\Traits
|
|
* @author Rank Math <support@rankmath.com>
|
|
*/
|
|
|
|
namespace RankMath\Traits;
|
|
|
|
use RankMath\Helper as GlobalHelper;
|
|
use RankMath\Helpers\Security;
|
|
|
|
defined( 'ABSPATH' ) || exit;
|
|
|
|
/**
|
|
* Wizard class.
|
|
*/
|
|
trait Wizard {
|
|
/**
|
|
* Is the page is currrent page.
|
|
*
|
|
* @return boolean
|
|
*/
|
|
public function is_current_page() {
|
|
$page = isset( $_GET['page'] ) && ! empty( $_GET['page'] ) ? filter_input( INPUT_GET, 'page' ) : false;
|
|
return $page === $this->slug;
|
|
}
|
|
}
|