Support

Account

Home Forums ACF PRO Add value to custom field when creating a product Reply To: Add value to custom field when creating a product

  • Thanks for the response.

    However, I updated the update_field to:

    
    update_field('affiliate_link', $value ,$object->get_id());
    

    With WooCommerce, I had to use get_id().

    I can now programmatically set the custom field value.