LLMS_Admin_Setup_Wizard::get_prev_step( string $step = '' )

Get slug if prev step

Parameters Parameters


(string) (Optional) Step to use as current.

Default value: ''

Top ↑

Return Return


Top ↑

Source Source

File: includes/admin/class.llms.admin.setup.wizard.php

	 * @since 4.8.0
	 * @return WP_Error|boolean Returns `true` on success otherwise returns a WP_Error.
	protected function save_pages() {

		return LLMS_Install::create_pages() ? true : new WP_Error( 'llms-setup-pages-save', esc_html__( 'There was an error saving your data, please try again.', 'lifterlms' ) );


	 * Save the "Payments" step.

Top ↑

Changelog Changelog

Version Description
4.8.0 Combined combined if/elseif into a single condition & use strict array_search() comparison.
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.