LLMS_Admin_Setup_Wizard::get_steps()

Get an array of step slugs => titles


Return Return

(array)


Top ↑

Source Source

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

	public function get_steps() {

		$steps = array(
			'intro'    => __( 'Welcome!', 'lifterlms' ),
			'pages'    => __( 'Page Setup', 'lifterlms' ),
			'payments' => __( 'Payments', 'lifterlms' ),
			'coupon'   => __( 'Coupon', 'lifterlms' ),
			'finish'   => __( 'Finish!', 'lifterlms' ),
		);

		/**
		 * Filter the steps included in the setup wizard
		 *
		 * @since 4.8.0
		 *
		 * @param string[] $steps Array of setup wizard steps. The array key is the slug/id of the step and the array value
		 *                        is the step's title displayed in the wizard's navigation.
		 */
		return apply_filters( 'llms_setup_wizard_steps', $steps );

	}


Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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