woocommerce_fulfillment_translate_meta_key
woocommerce_fulfillment_translate_meta_key
Appears in: woocommerce.10.1.2
Hook Type: filter
See hook in action
Displaying hooks found in version: woocommerce.10.1.2apply_filters('woocommerce_fulfillment_translate_meta_key') is found 1 times:
- /includes/class-wc-emails.php line 703
* Allows developers to translate the fulfillment meta key for display in emails. * * @since 10.1.0 */ $meta_key_translation = apply_filters( 'woocommerce_fulfillment_translate_meta_key', $field->key ); if ( $plain_text ) { echo esc_attr( $meta_key_translation ) . ': ' . esc_attr( $field->value ) . PHP_EOL; } else { echo '<p><strong>' . esc_attr( $meta_key_translation ) . ':</strong> ' . esc_attr( $field->value ) . '</p>'; } }