Custom Filter | ePDQ_custom_product_data


This document is provided as a courtesy for developers and designers.

Some PHP knowledge is required.

Please note that we do not support or offer customization services as part of our support policy.

Any sample code provided is simply for reference.


This filter will allow you to pass over any data you want (other than product title/ID) to the ePDQ back office, the data you send over in this filter will show in the description section of the order. It’s useful if you want to pass over invoice numbers or other custom data.


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;

Was this helpful?