woocommerce_email_customer_details_fields

woocommerce_email_customer_details_fields

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_email_customer_details_fields') is found 1 times:

  • /includes/class-wc-emails.php line 560
    		if ( ! is_a( $order, 'WC_Order' ) ) {
    			return;
    		}
    
    		$fields = array_filter( apply_filters( 'woocommerce_email_customer_details_fields', array(), $sent_to_admin, $order ), array( $this, 'customer_detail_field_is_valid' ) );
    
    		if ( ! empty( $fields ) ) {
    			if ( $plain_text ) {
    				wc_get_template( 'emails/plain/email-customer-details.php', array( 'fields' => $fields ) );
    			} else {
    				wc_get_template( 'emails/email-customer-details.php', array( 'fields' => $fields ) );