LLMS_Form_Field::get_visibility_toggle_html()
Retrieve HTML for the visibility toggle button
Return Return
(string)
Source Source
File: includes/forms/class-llms-form-field.php
protected function get_visibility_toggle_html() {
return $this->settings['visibility_toggle'] ? '<div class="llms-visibility-toggle"><button type="button" class="llms-button-plain hide-if-no-js" data-toggle="1"><i class="fa fa-eye"></i> <span class="llms-visibility-toggle-state">' . esc_html__( 'Show Password', 'lifterlms' ) . '</span></button></div>' : '';
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| TBD | Introduced. |