LLMS_Course::get_tracks( array $args = array() )
Retrieve course tracks
Parameters Parameters
- $args
-
(array) (Optional) Array of args passed to wp_get_post_terms.
Default value: array()
Return Return
(array)
Source Source
File: includes/models/model.llms.course.php
public function get_tracks( $args = array() ) {
return wp_get_post_terms( $this->get( 'id' ), 'course_track', $args );
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.3.0 | Introduced. |