woocommerce_rating_filter_link

woocommerce_rating_filter_link

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_rating_filter_link') is found 1 times:

  • /includes/widgets/class-wc-widget-rating-filter.php line 123
    				$link_ratings = implode( ',', array_merge( $rating_filter, array( $rating ) ) );
    			}
    
    			$class       = in_array( $rating, $rating_filter, true ) ? 'wc-layered-nav-rating chosen' : 'wc-layered-nav-rating';
    			$link        = apply_filters( 'woocommerce_rating_filter_link', $link_ratings ? add_query_arg( 'rating_filter', $link_ratings, $link ) : remove_query_arg( 'rating_filter' ) );
    			$rating_html = wc_get_star_rating_html( $rating );
    			$count_html  = wp_kses(
    				apply_filters( 'woocommerce_rating_filter_count', "({$count})", $count, $rating ),
    				array(
    					'em'     => array(),
    					'span'   => array(),