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_skip_text( string $step )
Get the text to display on the “skip” buttons
Parameters Parameters
- $step
-
(string) (Required) Step to get text for.
Return Return
(string) Translated text.
Source Source
File: includes/admin/class.llms.admin.setup.wizard.php
private function get_skip_text( $step ) { $text = __( 'Skip this step', 'lifterlms' ); if ( 'coupon' === $step ) { $text = __( 'No thanks', 'lifterlms' ); } /** * Filter the skip button text for a given step in the setup wizard * * The dynamic portion of this hook, `$step`, refers to the slug of the current step. * * @since 4.8.0 * * @param string $text Button text string. */ return apply_filters( "llms_setup_wizard_get_{$step}_skip_text", $text ); }
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.0.0 | Introduced. |