Noptin_WP_Registration_Form::um_output_checkbox( $action )

Displays a subscription checkbox on UM registration pages.


Source Source

File: includes/integrations/class-noptin-wp-registration-form.php

	function um_output_checkbox( $action ) {

		if ( $this->can_show_checkbox() ) {
			echo '<div class="um-field-area um-noptin-checkbox-field-area"> <label class="um-field-checkbox">';
			echo '<input type="checkbox" name="noptin-subscribe" value="1">';
			echo '<span class="um-field-checkbox-state"><i class="um-icon-android-checkbox-outline-blank"></i></span>';
			echo '<span class="um-field-checkbox-option">' . $this->get_label_text() . '</span>';
			echo '</label><div class="um-clear"></div></div>';

		}

	}

Top ↑

Changelog Changelog

Changelog
VersionDescription
1.2.6Introduced.

Top ↑

User Contributed Notes User Contributed Notes

30 day money back guarantee
Safe & Secure online payment
Custom CSS Slide Example
Custom Animation Example
Default Animation