Files
roi-theme/wp-content/plugins/seo-by-rank-math/includes/traits/class-wizard.php
root a22573bf0b Commit inicial - WordPress Análisis de Precios Unitarios
- 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>
2025-11-03 21:04:30 -06:00

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;
}
}