Merge pull request #19363 from nishitlangaliya/issue-19323
Add Filter to woocommerce_output_product_categories
This commit is contained in:
commit
1b3e0b39b1
|
@ -1949,8 +1949,8 @@ if ( ! function_exists( 'woocommerce_output_product_categories' ) ) {
|
||||||
*/
|
*/
|
||||||
function woocommerce_output_product_categories( $args = array() ) {
|
function woocommerce_output_product_categories( $args = array() ) {
|
||||||
$args = wp_parse_args( $args, array(
|
$args = wp_parse_args( $args, array(
|
||||||
'before' => '',
|
'before' => apply_filters( woocommerce_before_output_product_categories, '' ),
|
||||||
'after' => '',
|
'after' => apply_filters( woocommerce_after_output_product_categories, '' ),
|
||||||
'parent_id' => 0,
|
'parent_id' => 0,
|
||||||
) );
|
) );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue