Questions tagged [learndash]
52 questions
3
votes
1 answer
Is there any function in Leandash to mark complete COURSE programmatically
I am working on Leandash Project , Now my requirement is some students have completed the course offline , So I have created a screen for a group leader in which the group leader can select group/user/course and also add date like this (…

Parthavi Patel
- 739
- 11
- 28
2
votes
2 answers
Learndash how to get course title from course ID
I looked all over the Learndash documentation but I'm unable to find a function to obtain the course title from a course id. Does anyone know how to do this or have some sample code ?
Logged in users can see the certificates they've earned so that…

Sonny K
- 644
- 6
- 10
2
votes
1 answer
LearnDash: How to authenticate api call?
I need to call learndash API from the wordpress
for example like this:
wp_remote_request ('https://mywpsite/wp-json/ldlms/v1/groups', $arg);
LearnDash API is protected, so I'm getting 401 response:
{"code":"rest_forbidden","message":"Tut mir leid,…

Teimuraz
- 8,795
- 5
- 35
- 62
1
vote
0 answers
Sync lesson completion status across all courses in LearnDash
My LearnDash plugin is configured to have shared course steps, so that I can use the same lessons across multiple courses. However, if a users marks a lesson as complete or incomplete in one particular course, it is not reflected across all courses…

ANIRUDDH BHAT
- 21
- 2
1
vote
1 answer
Can plugins like WP Pro Quiz and WP Rocket be responsible for slowing down LearnDash?
We have LearnDash installed on our website and have been experiencing very slow speeds. We are trying to ascertain if there are any plugins or scripts that are responsible for slowing our site down. When using the browser Inspector tool, we have…

Yeabla
- 11
- 2
1
vote
1 answer
Unable to remove learndash columns using learndash-assignment-list-columns hook
Hi I am trying to remove date and comments from assignment listing from learndash plugin currently I have tried below code but it was not working. Any other suggestions will be very grateful
apply_filters(…

Jake
- 9
- 2
1
vote
0 answers
LearnDash how to create Quiz Question Category in Parent/Child Hierarchy
I am working on the LearnDash plugin in which I have a requirement to create a Quiz Question category in Parent/Child Hierarchy.
From Quiz Question, I am able to create Category only , how Do I arrange it in Parent/Child Hierarchy ?
PS : I don't…

Parthavi Patel
- 739
- 11
- 28
1
vote
1 answer
Optimize heavy slow query in Wordpress
I have a fairly large database - 162150 total of rows in wp_3_posts table and 521345 total of rows in wp_3_postmeta. I noticed that my site is very slow. I noticed that the slow queries took like 10 seconds to load the page.
SELECT…

Rayan
- 31
- 1
1
vote
0 answers
How to submit answers to a quizz using the REST API of Learndash LMS
A bit of context: I am developing a web application based on the wordpress LMS : Learndash.
I have been able to get a lot of data using the REST api, courses, lessons, quizzes, but I don't find the way to submit the user's answers of a quizz.
I have…

Stephane L
- 2,879
- 1
- 34
- 44
1
vote
1 answer
Learndash reset course/quiz progress on Enroll
I have expiring certifications(certificates) so I want users to take the course again after expired, but I cannot use Delete Course Data because I need the records that show the course was taken and has expired.
Background: Courses are not Open,…

user16800423
- 11
- 2
0
votes
0 answers
Wordpress Bulk fiels generation perf issue
I'm using learndash and a plugin to generate certificates in bulk.
Right now i'm finding issues when generating these bulks ( performance issue )
what the plugin does is that it generates pdf files and then compress all of them into zip file
My…

Mustapha Ghannouchi
- 348
- 1
- 8
0
votes
1 answer
Extracting SCORM Quiz Answers in jSON format using PHP via GrassBlade LRS
One of our clients are running a WordPress LearnDash (LMS) platform. They use Articulate RISE to create SCORM files. The SCORM files are then added to the LearnDash Lessons using GrassBlade LRS, and in particular GrassBlade xAPI Companion. I have…

Philip Mc lennan
- 11
- 2
0
votes
1 answer
Is it possible to send data to google dataLayer from backend?
I have a WordPress website where I use LearnDash with multiple courses, lessons and quizzes.
I? am looking to set up GTM in order to better track what my visitors are doing. There is a container in place and from the console, I am able to use the…

Kaho chan
- 1
- 2
0
votes
0 answers
Learndash and make automation using action hook php - learndash_lesson_completed
I am trying to connect Learndash with Make , using action hook.
I have tried the code below , but when clicking the complete lesson on Learndash I get a PHP Fatal error.
The code:
function my_custom_lesson_completed_action( $user_id, $lesson_id )…

E E
- 1
- 1
0
votes
0 answers
Add unique message to each incorrect answers in Learndash
Currently for question, Learndash only allow to add an message to the correct answer & a generic message for all of the incorrect answer. How do i write a unique message for each of the incorrect answers.
I tried adding a script to the text editor.…

khai
- 1
- 1