LLMS_View_Manager::modify_display_free_enroll_form( bool $display )

Modify the displaying of the free enroll form (free access plans).


Description Description

Visitors will never be shown the free enroll form.


Top ↑

Parameters Parameters

$display

(bool) (Required) Whether or not the form is being displayed.


Top ↑

Return Return

(bool)


Top ↑

Source Source

File: includes/class.llms.view.manager.php

	public function modify_display_free_enroll_form( $display ) {

		if ( ! $display || 'visitor' === $this->get_view() ) {
			return false;
		}

		return $display;

	}


Top ↑

Changelog Changelog

Changelog
Version Description
4.2.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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