woocommerce_email_before_order_table, $order, $sent_to_admin, $plain_text, $email

woocommerce_email_before_order_table, $order, $sent_to_admin, $plain_text, $email

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.11.0.0

do_action('woocommerce_email_before_order_table, $order, $sent_to_admin, $plain_text, $email') is found 2 times:

  • /templates/emails/email-order-details.php line 49

    * @param bool $plain_text Whether it’s a plain text email.
    * @param WC_Email $email Email object.
    * @since 2.5.0
    */
    do_action( ‘woocommerce_email_before_order_table’, $order, $sent_to_admin, $plain_text, $email ); ?>

  • /templates/emails/plain/email-order-details.php line 28
    if ( $email_improvements_enabled ) {
    	add_filter( 'woocommerce_order_shipping_to_display_shipped_via', '__return_false' );
    }
    
    do_action( 'woocommerce_email_before_order_table', $order, $sent_to_admin, $plain_text, $email );
    
    /**
     * Filter whether to display the order number in the order details heading of emails.
     *
     * @since 10.8.0
     * @param bool     $display Whether to display the order number. Default true.