Created
September 17, 2020 10:19
-
-
Save AaronBowie/cd91cfdfed253c5ff813e216adbc5712 to your computer and use it in GitHub Desktop.
"ePDQ_custom_product_data" filter
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
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