Hope the arguments passed to filter woo_salesforce_crmperks_post_data $data,$feed[‘id’] are order item meta value and its key recpectively. is it correct ?
So we can code by checking the key of the order item meta value.
Can you please point out, in which file and where you are going to add this filter on your plugin ?
Is this filter is just before passing to the Salesforce CRM ?
I got the clear idea of adding the additional fields in the export file.
One last question, Can I add the PHP code in my functions.php file instead of adding PHP code in misc settings.
Also for adding the additional fields in the export settings, can I add new fields using a hook (like woe_get_order_product_fields ) in the functions.php instead of adding fields in the backend settings area.