Complete lessons action

This action lets you complete one or multiple lessons via the LearnDash integration. Use it to automate you daily work ans save time and resources.

How to complete one or multiple lessons

This section aims to help you getting started on how to complete one or multiple lessons via LearnDash. Simply select one of your prefered automation manuals down below and start automating your WordPress website in no time.

"Complete lessons" arguments

Our so-called arguments are values that you can use to customize your request. They allow you to send specific data to the Complete lessons action which is then handled accordingly to the described purpose. You can use the arguments that you would like to send values for.
To learn more about it, please see the Setup Guide above.
user_id *

The user id (or user email) of the user you want to set the lesson to completed.

course_id *

The id of the course you want to set the lesson to completed.

lesson_ids *

Add the lesson IDs of the lessons you want to set to complete. This argument accepts the value "all" to set all lessons as incomplete, a single lesson id, or a comma-separated string of lesson IDs.

do_action

Advanced: Register a custom action after Webhooks Pro fires this webhook. More infos are in the description.

wpwh_call_action

(String) Register a custom WordPress hook callback. The value will be called as followed: do_action( $yourdefinedaction, $action_return_data, $request_data )

Connection examples

Get inspired on how to use the "Complete lessons" action within our LearnDash integrations. Down below you will find various examples with our other integrations.
When a membership was created via The WooCommerce Memberships Logo for our WP Webhooks integration WooCommerce Memberships, complete one or multiple lessons via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a payment was completed via The Gravityforms Logo for our integration Gravity Forms, complete one or multiple lessons via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a subscription trial ended via The WooCommerce Subscriptions Logo for our WP Webhooks integration WooCommerce Subscriptions, complete one or multiple lessons via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a membership was set to pending cancellation via The WooCommerce Memberships Logo for our WP Webhooks integration WooCommerce Memberships, complete one or multiple lessons via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a course access was granted via The LearnDash Logo for our WP Webhooks integration LearnDash, complete one or multiple lessons via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a membership was paused via The WooCommerce Memberships Logo for our WP Webhooks integration WooCommerce Memberships, complete one or multiple lessons via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a donation failed via The GiveWP Logo for our WP Webhooks integration GiveWP, complete one or multiple lessons via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a donation was abandoned via The GiveWP Logo for our WP Webhooks integration GiveWP, complete one or multiple lessons via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a user enrolled into a course via The WP Courseware Logo for our WP Webhooks integration WP Courseware, complete one or multiple lessons via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a post was created via The WordPress Logo for our integration WordPress, complete one or multiple lessons via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a custom button was clicked via The WP Webhooks Logo for our WP Webhooks integration WP Webhooks, complete one or multiple lessons via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a form was submitted via The Contact Form 7 Logo for our integration Contact Form 7, complete one or multiple lessons via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a Pabbly Connect webhook request was received via The Pabbly Connect Logo for our WP Webhooks integration Pabbly Connect, complete one or multiple lessons via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a membership expired via The WooCommerce Memberships Logo for our WP Webhooks integration WooCommerce Memberships, complete one or multiple lessons via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a subscription payment was completed via The WooCommerce Subscriptions Logo for our WP Webhooks integration WooCommerce Subscriptions, complete one or multiple lessons via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a course access expired via The LearnDash Logo for our WP Webhooks integration LearnDash, complete one or multiple lessons via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a new payout was received via The AffiliateWP Logo for our WP Webhooks integration AffiliateWP, complete one or multiple lessons via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a group access was granted via The LearnDash Logo for our WP Webhooks integration LearnDash, complete one or multiple lessons via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a donation was revoked via The GiveWP Logo for our WP Webhooks integration GiveWP, complete one or multiple lessons via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a user completed a unit via The WP Courseware Logo for our WP Webhooks integration WP Courseware, complete one or multiple lessons via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a custom link was clicked via The WP Webhooks Logo for our WP Webhooks integration WP Webhooks, complete one or multiple lessons via The LearnDash Logo for our WP Webhooks integration LearnDash.

More available LearnDash endpoints

Discover more of the available endpoints used for the LearnDash integration.
To learn more about a specific endpoint, simply click on it.
Full disclosure: When clicking on some of the links on our website and purchasing the related product and/or service, we may earn a commission free of any additional cost for you.