LLMS_Student::get_enrollment_trigger( int $product_id )

Get the enrollment trigger for a the student’s enrollment in a course


Parameters Parameters

$product_id

(int) (Required) WP Post ID of the course or membership


Top ↑

Return Return

(string|false)


Top ↑

Source Source

File: includes/models/model.llms.student.php

	public function get_enrollment_trigger( $product_id ) {

		$trigger = llms_get_user_postmeta( $this->get_id(), $product_id, '_enrollment_trigger', true );
		return $trigger ? $trigger : false;

	}


Top ↑

Changelog Changelog

Changelog
Version Description
?? Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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