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?
October 15, 2015 at 4:40 pm
#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()
?