LLMS_Student::get_enrollment_trigger_id( int $product_id )

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

Parameters Parameters


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

Top ↑

Return Return


Top ↑

Source Source

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

		 * @param int          $user_id    WP_User ID of the student
		 * @param int          $product_id WP_Post ID of the post used to check the enrollment status.
		 * @param boolean      $use_cache  Whether or not to use the local cache.
		return apply_filters( 'llms_get_enrollment_status', $status, $this->get_id(), $product_id, $use_cache );


	 * Get the enrollment trigger for a the student's enrollment in a course
	 * @param    int $product_id   WP Post ID of the course or membership
	 * @return   string|false
	 * @since    ??
	 * @version  3.21.0
	public function get_enrollment_trigger( $product_id ) {

Top ↑

Changelog Changelog

Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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