llms_get_product( WP_Post|int|false $the_product = false, array $args = array() )

Get Product Object


Parameters Parameters

$the_product

(WP_Post|int|false) (Optional) Course or membership post object or id. If false uses the global $post object.

Default value: false

$args

(array) (Optional) Arguments to pass to the LLMS_Product Constructor.

Default value: array()


Top ↑

Return Return

(LLMS_Proudct)


Top ↑

Source Source

File: includes/llms.template.functions.php

function llms_person_my_courses_url() {

	$url = llms_get_endpoint_url( 'my-courses', '', get_permalink( llms_get_page_id( 'myaccount' ) ) );

	return apply_filters( 'lifterlms_person_my_courses_url', $url );

}


Top ↑

Changelog Changelog

Changelog
Version Description
3.37.13 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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