Merge pull request #19363 from nishitlangaliya/issue-19323

Add Filter to woocommerce_output_product_categories
This commit is contained in:
Claudiu Lodromanean 2018-03-12 08:50:22 -07:00 committed by GitHub
commit 1b3e0b39b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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,
) );