woocommerce_order_note_class, array_filter( $css_class
woocommerce_order_note_class, array_filter( $css_class
Appears in: woocommerce.11.0.0
Hook Type: filter
Displaying hooks found in version: woocommerce.11.0.0apply_filters('woocommerce_order_note_class, array_filter( $css_class') is found 1 times:
- /includes/admin/meta-boxes/views/html-order-notes.php line 18
foreach ( $notes as $note ) { $css_class = array( 'note' ); $css_class[] = $note->customer_note ? 'customer-note' : ''; $css_class[] = 'system' === $note->added_by ? 'system-note' : ''; $css_class = apply_filters( 'woocommerce_order_note_class', array_filter( $css_class ), $note ); ?> <li rel="<?php echo absint( $note->id ); ?>" class="<?php echo esc_attr( implode( ' ', $css_class ) ); ?>"> <div class="note_content"> <?php if ( $note->customer_note ) : ?> <div class="note_header"><?php esc_html_e( 'Sent to customer', 'woocommerce' ); ?></div> <?php endif; ?>