Hook for a user successfully subscribing

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Multi Vendor Marketplace Plugin | WCFM Marketplace Forums WCFM – Membership Hook for a user successfully subscribing

Viewing 3 reply threads
  • Author
    Posts
    • #51212
      Katherine Reynolds
      Guest

      Hi
      I want to send user data to zapier when a user subscribes to a free membership plan, can you please let me know if there is any hook when a user successfully subscribes to a free membership?
      Thanks

    • #51311
      WCFM Forum
      Keymaster

      Hi,

      Yeah sure, there is a hook for this – do_action( 'wcfm_membership_subscription_complete', $member_id );

      You may fetch this user’s membership – get_user_meta( $member_id, 'wcfm_membership', true );

      Thank You

    • #51345
      Katherine Reynolds
      Guest

      Excellent. You are very helpful

    • #51391
      WCFM Forum
      Keymaster

      You are welcome 🙂

Viewing 3 reply threads
  • The topic ‘Hook for a user successfully subscribing’ is closed to new replies.