woocommerce_get_email_fulfillment_items_table
Filter to modify the email fulfillment items table HTML.
Usage
add_filter( 'woocommerce_get_email_fulfillment_items_table', 'wp_kama_woocommerce_get_email_fulfillment_items_table_filter', 10, 3 );
/**
* Function for `woocommerce_get_email_fulfillment_items_table` filter-hook.
*
* @param string $html The HTML output of the fulfillment items table.
* @param WC_Order $order The order object.
* @param Fulfillment $fulfillment The fulfillment object.
*
* @return string
*/
function wp_kama_woocommerce_get_email_fulfillment_items_table_filter( $html, $order, $fulfillment ){
// filter...
return $html;
}
- $html(string)
- The HTML output of the fulfillment items table.
- $order(WC_Order)
- The order object.
- $fulfillment(Fulfillment)
- The fulfillment object.
Changelog
| Since 10.1.0 | Introduced. |
Where the hook is called
woocommerce_get_email_fulfillment_items_table
woocommerce/includes/wc-template-functions.php 3924
return apply_filters( 'woocommerce_get_email_fulfillment_items_table', ob_get_clean(), $order, $fulfillment );