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 and 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 membership was cancelled 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 ticket was created via The Fluent Support Logo for our WP Webhooks integration Fluent Support, remove course access from a user 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, remove course access from a user via The LearnDash Logo for our WP Webhooks integration LearnDash.
When Shortcode has been deleted successfully. via The Shortcoder Logo for our WP Webhooks integration Shortcoder, remove course access from a user via The LearnDash Logo for our WP Webhooks integration LearnDash.
When the CDN cache was cleared via The W3 Total Cache Logo for our WP Webhooks integration W3 Total Cache, remove course access from a user via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a form was submitted via The HappyForms Logo for our WP Webhooks integration HappyForms, remove course access from a user via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a comment was updated 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 subscription was cancelled via The Studiocart Logo for our WP Webhooks integration Studiocart, remove course access from a user via The LearnDash Logo for our WP Webhooks integration LearnDash.
When an account was marked inactive via The Ultimate Member Logo for our WP Webhooks integration Ultimate Member, remove course access from a user via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a file was downloaded 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 free membership was cancelled 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 user completed a unit via The WP Courseware Logo for our WP Webhooks integration WP Courseware, remove course access from a user via The LearnDash Logo for our WP Webhooks integration LearnDash.
When an event was deleted via The Jetpack CRM Logo for our WP Webhooks integration Jetpack CRM, remove course access from a user via The LearnDash Logo for our WP Webhooks integration LearnDash.
When a product was updated 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 user logged in 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 form was submitted via The Ninja Forms Logo for our WP Webhooks integration Ninja Forms, remove course access from a user via The LearnDash Logo for our WP Webhooks integration LearnDash.
When one or multiple contact tags have been removed via The Autonami Logo for our WP Webhooks integration FunnelKit Automations, remove course access from a user via The LearnDash Logo for our WP Webhooks integration LearnDash.
When the object cache was cleared via The LiteSpeed Cache Logo for our WP Webhooks integration LiteSpeed Cache, 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 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 user enrolled into a course via The WP Courseware Logo for our WP Webhooks integration WP Courseware, 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.