• Resolved rajueww123

    (@rajueww123)


    Hello,

    I need help as i want to know that which hook is called when Pending Vendor is Approved because i want to create push notification on approve vendor and want to notify users or customers when new vendor is there in shop.

    So my question is that want to know the hook which is called when pending vendor is approve by admin.

    Secondly i want to know the slug of pending vendor and vendor.

    for example Subscribers slug is ‘subscriber’ same way want to know the slug for Pending vendor as well as Vendor

    • This topic was modified 7 years, 4 months ago by rajueww123.
Viewing 1 replies (of 1 total)
  • Please use this do_action(‘wcmp_set_user_role’, $user_id, $new_role, $old_role); to add the notification when the role of the user is “dc_vendor” from “pending_vendor”.

    Let us know if you have any further query.

Viewing 1 replies (of 1 total)
  • The topic ‘Approve Pending Venors Hooks’ is closed to new replies.