Home Forums WC Vendors Pro Support Edit vendors' details / saved to "user" or "Vendor Stores" post type? Reply To: Edit vendors' details / saved to "user" or "Vendor Stores" post type?

#10971
Martin
Participant

In your guide you publish this piece of code:

add_action(‘wcvendors_settings_after_seller_info’, ‘wcv_add_acf_fields’);
function wcv_add_acf_fields() {
acf_form( array(
‘form’ => false,
‘return’ => false,
‘post_id’ => WCVendors_Pro_Vendor_Controller::get_vendor_store_id( get_current_user_id() )
) );
}

shouldn’t then
‘post_id’ => WCVendors_Pro_Vendor_Controller::get_vendor_store_id( get_current_user_id() )

actually be
‘post_id’ => get_current_user_id()

?

  • This reply was modified 7 years, 3 months ago by Martin.
  • This reply was modified 7 years, 3 months ago by Martin.
This website uses cookies to ensure you get the best experience on our website.