Grant course access action

This action lets you grant course access to a user via the LearnDash integration. Use it to automate you daily work and save time and resources.

How to grant course access to a user

This section aims to help you getting started on how to grant course access to a user via LearnDash. Simply select one of your prefered automation manuals down below and start automating your WordPress website in no time.

"Grant course access" arguments

Our so-called arguments are values that you can use to customize your request. They allow you to send specific data to the Grant course access 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 grant course access.

course_ids *

Add the courses you want to grant access to the user. This argument accepts a comma-separated string.

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 "Grant course access" action within our LearnDash integrations. Down below you will find various examples with our other integrations.
When a form was submitted via The HappyForms Logo for our WP Webhooks integration HappyForms, grant course access to a user via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a booking status was updated via The Amelia Logo for our WP Webhooks integration Amelia, grant course access to a user 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, grant course access to a user via The LearnDash Logo for our WP Webhooks integration LearnDash.
When the full cache was cleared via The W3 Total Cache Logo for our WP Webhooks integration W3 Total Cache, grant course access to a user via The LearnDash Logo for our WP Webhooks integration LearnDash.
When the localized cache was cleared via The LiteSpeed Cache Logo for our WP Webhooks integration LiteSpeed Cache, grant course access to a user via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a subscription status has changed via The Easy Digital Downloads Logo for our integration Easy Digital Downloads, grant course access to a user via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a tag was added via The WP Fusion Logo for our WP Webhooks integration WP Fusion, grant course access to a user via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a donation failed via The GiveWP Logo for our WP Webhooks integration GiveWP, grant course access to a user 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, grant course access to a user via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a topic was favored via The bbPress Logo for our WP Webhooks integration bbPress, grant course access to a user via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a paid membership expired via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro, grant course access to a user via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a license status was updated via The Easy Digital Downloads Logo for our integration Easy Digital Downloads, grant course access to a user 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, grant course access to a user via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a topic was completed via The LearnDash Logo for our WP Webhooks integration LearnDash, grant course access to a user via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a contact was removed from a tag via The FluentCRM Logo for our WP Webhooks integration FluentCRM, grant course access to a user via The LearnDash Logo for our WP Webhooks integration LearnDash.
When the database cache was cleared via The W3 Total Cache Logo for our WP Webhooks integration W3 Total Cache, grant course access to a user via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a contact was added to a list via The FluentCRM Logo for our WP Webhooks integration FluentCRM, grant course access to a user via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a website comment was deleted via The ProjectHuddle Logo for our WP Webhooks integration ProjectHuddle, grant course access to a user via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a note was added to a ticket via The Fluent Support Logo for our WP Webhooks integration Fluent Support, grant course access to a user via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a membership was canceled via The Paid Membership Pro Logo for our WP Webhooks integration Paid Memberships Pro, grant course access to a user via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a new subscription payment was created via The Easy Digital Downloads Logo for our integration Easy Digital Downloads, grant course access to a user 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.