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
Parameters Parameters
- $step
-
(string) (Required) Step to get text for.
Return Return
(string) The translated text.
Source Source
File: includes/admin/class.llms.admin.setup.wizard.php
$currency = isset( $_POST['currency'] ) ? llms_filter_input_sanitize_string( INPUT_POST, 'currency' ) : get_lifterlms_currency(); update_option( 'lifterlms_currency', $currency ); $manual = isset( $_POST['manual_payments'] ) ? llms_filter_input_sanitize_string( INPUT_POST, 'manual_payments' ) : 'no'; update_option( 'llms_gateway_manual_enabled', $manual ); // phpcs:enable WordPress.Security.NonceVerification.Missing return true; } /** * Save the "Finish" step. * * @since 4.8.0 * * @return WP_Error|int[]|bool Returns an array of generated WP_Post IDs on success, `false` when no import IDs are posted, otherwise returns a WP_Error. */ protected function save_finish() {
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
4.8.0 | Added a filter on the return value. |
3.3.0 | Unknown. |
3.0.0 | Introduced. |