You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
900 B
PHTML
56 lines
900 B
PHTML
8 months ago
|
<?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;
|
||
|
}
|
||
|
}
|