Retrieve the product type (course or membership) for the associated product

Return Return


Top ↑

Source Source

File: includes/models/model.llms.access.plan.php

	public function get_product_type() {
		$product = $this->get_product();
		return str_replace( 'llms_', '', $product->get( 'type' ) );

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.