woocommerce_email_body_display_section_divider

woocommerce_email_body_display_section_divider

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.10.6.1

apply_filters('woocommerce_email_body_display_section_divider') is found 2 times:

  • /templates/emails/email-addresses.php line 35
     *
     * @since 10.6.0
     * @param bool $display_section_divider Whether to display the section divider. Default true.
     */
    $display_section_divider = (bool) apply_filters( 'woocommerce_email_body_display_section_divider', true );
    
    ?>
    <?php if ( $display_section_divider ) : ?>
    	<hr style="border: 0; border-top: 1px solid #1E1E1E; border-top-color: rgba(30, 30, 30, 0.2); margin: 20px 0;">
    <?php endif; ?>
    <table id="addresses" cellspacing="0" cellpadding="0" style="width: 100%; vertical-align: top; margin-bottom: <?php echo $email_improvements_enabled ? '0' : '40px'; ?>; padding:0;" border="0" role="presentation">
    
  • /templates/emails/email-order-details.php line 32
     *
     * @since 10.6.0
     * @param bool $display_section_divider Whether to display the section divider. Default true.
     */
    $display_section_divider   = (bool) apply_filters( 'woocommerce_email_body_display_section_divider', true );
    $heading_class             = $email_improvements_enabled ? 'email-order-detail-heading' : '';
    $order_table_class         = $email_improvements_enabled ? 'email-order-details' : '';
    $order_total_text_align    = $email_improvements_enabled ? 'right' : 'left';
    $order_quantity_text_align = $email_improvements_enabled ? 'right' : 'left';
    
    if ( $email_improvements_enabled ) {