LLMS_Form_Field::get_visibility_toggle_html()

Retrieve HTML for the visibility toggle button


Return Return

(string)


Top ↑

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>' : '';
	}


Top ↑

Changelog Changelog

Changelog
Version Description
TBD Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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