Skip to content

Instantly share code, notes, and snippets.

@AaronBowie
Created September 17, 2020 10:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AaronBowie/cd91cfdfed253c5ff813e216adbc5712 to your computer and use it in GitHub Desktop.
Save AaronBowie/cd91cfdfed253c5ff813e216adbc5712 to your computer and use it in GitHub Desktop.
"ePDQ_custom_product_data" filter
define('ePDQ_custom_product_data',TRUE);
add_action('ePDQ_custom_product_data', 'my_ePDQ_custom_product_data');
function my_ePDQ_custom_product_data( $order ) {
$order_id = $order->get_id(); //558;
return $order_id;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment