diff --git a/includes/wc-template-functions.php b/includes/wc-template-functions.php index 2bf33cf03c6..32e42e10780 100644 --- a/includes/wc-template-functions.php +++ b/includes/wc-template-functions.php @@ -1949,8 +1949,8 @@ if ( ! function_exists( 'woocommerce_output_product_categories' ) ) { */ function woocommerce_output_product_categories( $args = array() ) { $args = wp_parse_args( $args, array( - 'before' => '', - 'after' => '', + 'before' => apply_filters( woocommerce_before_output_product_categories, '' ), + 'after' => apply_filters( woocommerce_after_output_product_categories, '' ), 'parent_id' => 0, ) );