Commit realizado el 12:13:52 08-04-2024
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
<?php
|
||||
/**
|
||||
* The Ready wizard step
|
||||
*
|
||||
* @since 0.9.0
|
||||
* @package RankMath
|
||||
* @subpackage RankMath\Wizard
|
||||
* @author Rank Math <support@rankmath.com>
|
||||
*/
|
||||
|
||||
namespace RankMath\Wizard;
|
||||
|
||||
use RankMath\Helper;
|
||||
|
||||
defined( 'ABSPATH' ) || exit;
|
||||
|
||||
/**
|
||||
* Step class.
|
||||
*/
|
||||
class Ready implements Wizard_Step {
|
||||
|
||||
/**
|
||||
* Render step body.
|
||||
*
|
||||
* @param object $wizard Wizard class instance.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function render( $wizard ) {
|
||||
include_once $wizard->get_view( 'ready' );
|
||||
}
|
||||
|
||||
/**
|
||||
* Render form for step.
|
||||
*
|
||||
* @param object $wizard Wizard class instance.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function form( $wizard ) {
|
||||
Helper::is_configured( true );
|
||||
}
|
||||
|
||||
/**
|
||||
* Save handler for step.
|
||||
*
|
||||
* @param array $values Values to save.
|
||||
* @param object $wizard Wizard class instance.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function save( $values, $wizard ) {
|
||||
return true;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user