LLMS_Course::get_categories( array $args = array() )

Retrieve course categories

Parameters Parameters


(array) (Optional) Array of args passed to wp_get_post_terms.

Default value: array()

Top ↑

Return Return


Top ↑

Source Source

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

	public function get_categories( $args = array() ) {
		return wp_get_post_terms( $this->get( 'id' ), 'course_cat', $args );

Top ↑

Changelog Changelog

Version Description
3.3.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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