Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

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

Get the text to display on the “save” buttons


Description Description


Parameters Parameters

$step

(string) (Optional) step to get text for

Default value: ''


Top ↑

Return Return

(string) translated text


Top ↑

Source Source

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

	private function get_save_text( $step = '' ) {
		if ( 'coupon' === $step ) {
			return __( 'Allow', 'lifterlms' );
		} elseif ( 'finish' === $step ) {
			return __( 'Install a Sample Course', 'lifterlms' );
		} else {
			return __( 'Save & Continue', 'lifterlms' );
		}
	}

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.