lp_dynamic_name; } public function get_categories() { return $this->lp_dynamic_categories; } public function get_group() { return $this->lp_dynamic_group; } public function get_title() { return $this->lp_dynamic_title; } /** * Get course * * @return bool|LP_Course|mixed * @deprecated 4.2.7.3 */ public function get_course() { $id = get_the_ID(); if ( ! $id ) { return false; } return learn_press_get_course( $id ); } /** * Get course * * @return false|CourseModel * @since 4.2.7.3 * @version 1.0.0 */ public function get_course_model() { $id = get_the_ID(); if ( ! $id ) { return false; } return CourseModel::find( $id, true ); } }