Home Forums WC Vendors Pro Support Approved Vendor Action Hook Not Working

NOTICE: We've Moved to a Ticket System for Support

As of August 31, 2017 (12am EST) our support forums will be retired (read-only), and we will be moving to a support ticket system.  This will allow us to better organize and answer support requests, and provide a more personalized experience as we assist our customers.

For the time being, we will leave our forums open for reading and learning while we work on creating a more robust Knowledge Base for everyone to use.

If you are a WC Vendors Pro customer please open a support ticket here. 

If you are a WC Vendors user please open a support ticket on the Wordpress.org forums.

The information on this forum is outdated and in most instances no longer relevant. Please be sure to check our documentation for the most up to date information.


Thank you to all of our customers!


Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #50184

    I’m building a quick code snippet that will automatically join new vendors to a BuddyPress group that I have setup for my vendors. The problem is, I can’t get the wcvendors_approve_vendor action hook to work.


    Here’s my code snippet:

     * Auto Join a Vendor to the Seller Center when Approved
     * @since  1.0
    function wcv_ppm_auto_join_seller_center( $user ) {
    	if ( bp_is_active( 'groups' ) ) {
    		$group_id = 2; // The Seller Center	
    		groups_join_group( $group_id, $user->ID );
    add_action( 'wcvendors_approve_vendor', 'wcv_ppm_auto_join_seller_center', 10, 1 );

    Can you please help me figure out why this isn’t working?




    Have you tried just sending something to the error log in your function to see if there is a logic issue with buddypress?





    im looking for a developer to do this for me, can we chat? my email is [email protected]

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘WC Vendors Pro Support’ is closed to new topics and replies.