From 71fbc5fb5996d9ffb49e759b6ba4d27d3695af4a Mon Sep 17 00:00:00 2001 From: Shadi Manna Date: Thu, 20 Apr 2023 15:50:02 +0200 Subject: [PATCH] Add PHPCS ignore missing hook comment --- .../woocommerce/includes/emails/class-wc-email-new-order.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/woocommerce/includes/emails/class-wc-email-new-order.php b/plugins/woocommerce/includes/emails/class-wc-email-new-order.php index 75e4f2b1f35..551cdb3318d 100644 --- a/plugins/woocommerce/includes/emails/class-wc-email-new-order.php +++ b/plugins/woocommerce/includes/emails/class-wc-email-new-order.php @@ -174,7 +174,7 @@ if ( ! class_exists( 'WC_Email_New_Order' ) ) : * @return string */ public function get_additional_content() { - return apply_filters( 'woocommerce_email_additional_content_' . $this->id, $this->format_string( $this->get_option( 'additional_content' ) ), $this->object, $this ); + return apply_filters( 'woocommerce_email_additional_content_' . $this->id, $this->format_string( $this->get_option( 'additional_content' ) ), $this->object, $this ); // phpcs:ignore WooCommerce.Commenting.CommentHooks.MissingHookComment } /**