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 ans 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 user was registered via The WP User Manager Logo for our WP Webhooks integration WP User Manager, expire one or all user memberships via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro.
When a contact was removed from a list via The FluentCRM Logo for our WP Webhooks integration FluentCRM, 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 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 a group access was removed 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 a user password was changed via The WP User Manager Logo for our WP Webhooks integration WP User Manager, expire one or all user memberships via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro.
When a user has logged in 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 course access was granted 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 donation is processed via The GiveWP Logo for our WP Webhooks integration GiveWP, expire one or all user memberships via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro.
When an ACF post 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 product 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 a form was submitted via The WS Form Logo for our WP Webhooks integration WS Form, 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 a shortcode was called 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 coupon 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 a donation is pending via The GiveWP Logo for our WP Webhooks integration GiveWP, 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 course 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 a comment 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 coupon was created 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 a Pabbly Connect webhook request was received via The Pabbly Connect Logo for our WP Webhooks integration Pabbly Connect, expire one or all user memberships via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro.
When a paid membership was activated 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.

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.