How trigger function after vendor register

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 – Ultimate How trigger function after vendor register

Viewing 1 reply thread
  • Author
    Posts
    • #92984
      lukas_smith
      Participant

      I added action in plugin
      add_action('user_register', 'run_own_function', 10, 1);
      but when i try get data in there
      get_user_meta($user_id, 'wcfmvm_custom_infos', true );
      i have empty result.

      How can i detect when data will be insert in vendor table ?
      Or how can i get access to form data from vendor registration form
      and how use in my own function ?

    • #93553
      WCFM Forum
      Member

      HI,

      Please use this hook for the purpose-

      do_action( 'wcfmmp_new_store_created', $member_id, $wcfmmp_settings );

      Thank You

Viewing 1 reply thread
  • The topic ‘How trigger function after vendor register’ is closed to new replies.