How To Get Start Date Comment ID? #4275
Answered
by
donnapep
FirstClassCode
asked this question in
Q&A
-
Hello, I have been using "WooThemes_Sensei_Utils::user_started_course( $post->ID, $current_user->ID );" to get the comment meta ID that contains the start date. However, after upgrading to the latest version of Sensei this no longer seems to work. Thank you |
Beta Was this translation helpful? Give feedback.
Answered by
donnapep
Sep 1, 2021
Replies: 1 comment
-
@FirstClassCode You should be able to use |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
donnapep
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@FirstClassCode You should be able to use
Sensei_Utils::get_course_progress_comment_id( $course_id, $user_id );
to get the comment ID, and then use it to get the course start dateget_comment_meta( $comment_id, 'start', true );
.