Expire user membership action

This action lets you expire one or all user memberships via the Restrict Content Pro integration. Use it to automate you daily work and save time and resources.

How to expire one or all user memberships

This section aims to help you getting started on how to expire one or all user memberships via Restrict Content Pro. Simply select one of your prefered automation manuals down below and start automating your WordPress website in no time.

"Expire user membership" arguments

Our so-called arguments are values that you can use to customize your request. They allow you to send specific data to the Expire user membership 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 *

Set this argument to the id of the user. In case you do not have the user id, you can also assign the user via a given email.

membership_level *

The ID of the membership level that you want to expire. Set this argument to all to expire all memberships.

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 "Expire user membership" action within our Restrict Content Pro integrations. Down below you will find various examples with our other integrations.
When a quiz was failed via The LearnDash Logo for our WP Webhooks integration LearnDash, expire one or all user memberships via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro.
When a user completed a unit via The WP Courseware Logo for our WP Webhooks integration WP Courseware, expire one or all user memberships via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro.
When an ACF comment field was updated via The Advanced Custom Fields Logo for our WP Webhooks integration Advanced Custom Fields, expire one or all user memberships via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro.
When a paid membership expired via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro, expire one or all user memberships via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro.
When a booking was added via The Amelia Logo for our WP Webhooks integration Amelia, expire one or all user memberships via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro.
When an order was created via The Paid Membership Pro Logo for our WP Webhooks integration Paid Memberships Pro, expire one or all user memberships via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro.
When a quiz was completed via The Tutor LMS Logo for our WP Webhooks integration Tutor LMS, expire one or all user memberships via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro.
When the cache was cleared via The WP Super Cache Logo for our WP Webhooks integration WP Super Cache, expire one or all user memberships via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro.
When an appointment was rescheduled via The Amelia Logo for our WP Webhooks integration Amelia, expire one or all user memberships via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro.
When an order was deleted via The Paid Membership Pro Logo for our WP Webhooks integration Paid Memberships Pro, expire one or all user memberships via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro.
When a custom trigger was called via PHP via The WordPress Logo for our integration WordPress, expire one or all user memberships via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro.
When a plugin was deactivated via The WordPress Logo for our integration WordPress, expire one or all user memberships via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro.
When a Microsoft Power Automate webhook request was received via The Microsoft Power Automate Logo for our WP Webhooks integration Microsoft Power Automate, expire one or all user memberships via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro.
When the page cache was cleared via The Cache Enabler Logo for our WP Webhooks integration Cache Enabler, expire one or all user memberships via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro.
When a note was added to a ticket via The Fluent Support Logo for our WP Webhooks integration Fluent Support, expire one or all user memberships via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro.
When a UM profile description was updated via The Ultimate Member Logo for our WP Webhooks integration Ultimate Member, expire one or all user memberships via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro.
When a taxonomy term was updated via The WordPress Logo for our integration WordPress, expire one or all user memberships via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro.
When a customer was deleted via The Woocommerce Logo for our integration WooCommerce, expire one or all user memberships via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro.
When the full cache was cleared via The Autoptimize Logo for our WP Webhooks integration Autoptimize, expire one or all user memberships via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro.
When a transaction was created via The Jetpack CRM Logo for our WP Webhooks integration Jetpack CRM, expire one or all user memberships via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro.
When a quote was deleted via The Jetpack CRM Logo for our WP Webhooks integration Jetpack CRM, expire one or all user memberships via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro.

More available Restrict Content Pro endpoints

Discover more of the available endpoints used for the Restrict Content Pro 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.