llms_privacy_policy_form_field( $echo = true )


Description Description


Source Source

File: includes/functions/llms.functions.templates.privacy.php

	function llms_privacy_policy_form_field( $echo = true ) {

		// do_action passes empty string
		if ( '' === $echo ) {
			$echo = true;
		}

		$ret = '';

		$notice = llms_get_privacy_notice( true );
		if ( $notice ) {
			$ret = llms_form_field( array(
				'columns' => 12,
				'label' => $notice,
				'last_column' => true,
				'type'  => 'html',
			), false );
		}

		$ret = apply_filters( 'llms_privacy_policy_form_field', $ret, $echo );

		if ( $echo ) {

			echo $ret;
			return;

		}

		return $ret;

	}


Top ↑

User Contributed Notes User Contributed Notes

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