Created
July 19, 2019 19:53
-
-
Save joshfeck/20f4f9959799bab88b32bb18faf27d7b to your computer and use it in GitHub Desktop.
Infusionsoft + Event Espresso 4. Do not send a product sku when adding/updating events & tickets
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| //* Please do NOT include the opening php tag, except of course if you're starting with a blank file | |
| add_filter( | |
| 'FHEE__EEE_Infusionsoft_Ticket__sync_to_infusionsoft__product_data', | |
| 'my_do_not_send_a_sku', | |
| 10, | |
| 2 | |
| ); | |
| function my_do_not_send_a_sku($product_data, $ticket) { | |
| $product_data['Sku'] = ''; | |
| return $product_data; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment