LLMS_Admin_Setup_Wizard::get_next_step( string $step = '' )
Get slug if next step
Description Description
Parameters Parameters
- $step
-
(string) (Optional) step to use as current
Default value: ''
Return Return
(string|false)
Source Source
File: includes/admin/class.llms.admin.setup.wizard.php
public function get_next_step( $step = '' ) { if ( ! $step ) { $step = $this->get_current_step(); } $steps = $this->get_steps(); $keys = array_keys( $steps ); $i = array_search( $step, $keys ); if ( false === $i ) { return false; } elseif ( $i++ >= count( $keys ) - 1 ) { return false; } else { return $keys[ $i++ ]; } }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |
User Contributed Notes User Contributed Notes
Permalink: