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 ans 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 plugin was deactivated via The WordPress Logo for our integration WordPress, grant course access to a user 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, grant course access to a user via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a membership was cancelled 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 a user was registered via The WP User Manager Logo for our WP Webhooks integration WP User Manager, grant course access to a user via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a product was added to the cart via The Woocommerce Logo for our integration WooCommerce, grant course access to a user via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a free membership was cancelled 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 payments status was 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 an order was deleted 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 quiz was failed 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 profile photo was updated via The WP User Manager Logo for our WP Webhooks integration WP User Manager, grant course access to a user via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a customer was deleted via The Woocommerce Logo for our integration WooCommerce, grant course access to a user via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a cover photo was removed via The WP User Manager Logo for our WP Webhooks integration WP User Manager, grant course access to a user via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a WordPress hook was fired via The WordPress Logo for our integration WordPress, grant course access to a user via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a post was deleted via The WordPress Logo for our integration WordPress, grant course access to a user via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a topic was unfavored 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 form was submitted via The Newsletter Logo for our WP Webhooks integration Newsletter, grant course access to a user via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a form was submitted via The Fluent Forms Logo for our WP Webhooks integration Fluent Forms, grant course access to a user via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a tag was removed 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 an assignment was uploaded 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 new affiliate signed up 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 form was submitted via The Ninja Forms Logo for our WP Webhooks integration Ninja Forms, 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.