Remove course access action

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

How to remove course access from a user

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

"Remove 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 Remove 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 remove the course access from.

course_ids

Add the course IDs of the courses you want to remove the access for. This argument accepts the value "all" to remove access to all courses of the user, a single course id, or a comma-separated string of course 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 "Remove course access" action within our LearnDash integrations. Down below you will find various examples with our other integrations.
When a subscription expired via The WooCommerce Subscriptions Logo for our WP Webhooks integration WooCommerce Subscriptions, remove course access from a user 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, remove course access from a user via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a KlickTipp outbound request was received via The KlickTipp Logo for our WP Webhooks integration KlickTipp, remove course access from a user via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a topic reply was created via The bbPress Logo for our WP Webhooks integration bbPress, remove course access from a user via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a comment was created via The WordPress Logo for our integration WordPress, remove course access from 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, remove course access from a user via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a license was activated via The Easy Digital Downloads Logo for our integration Easy Digital Downloads, remove course access from 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, remove course access from a user via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a purchase was completed via The WP Simple Pay Logo for our WP Webhooks integration WP Simple Pay, remove course access from 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, remove course access from a user via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a donation is processed via The GiveWP Logo for our WP Webhooks integration GiveWP, remove course access from a user via The LearnDash Logo for our WP Webhooks integration LearnDash.
When an order was restored via The Woocommerce Logo for our integration WooCommerce, remove course access from a user via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a contact was added to a tag via The FluentCRM Logo for our WP Webhooks integration FluentCRM, remove course access from a user via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a booking was added via The Amelia Logo for our WP Webhooks integration Amelia, remove course access from a user via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a contact was removed from a list via The FluentCRM Logo for our WP Webhooks integration FluentCRM, remove course access from a user via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a free membership expired via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro, remove course access from a user via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a course was completed via The LearnDash Logo for our WP Webhooks integration LearnDash, remove course access from 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, remove course access from a user via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a user was updated via The WP User Manager Logo for our WP Webhooks integration WP User Manager, remove course access from 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, remove course access from a user via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a paid membership was activated via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro, remove course access from 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.