woocommerce_before_widget_product_list хук-фильтрWC 1.0

Использование

add_filter( 'woocommerce_before_widget_product_list', 'wp_kama_woocommerce_before_widget_product_list_filter' );

/**
 * Function for `woocommerce_before_widget_product_list` filter-hook.
 * 
 * @param  $html 
 *
 * @return 
 */
function wp_kama_woocommerce_before_widget_product_list_filter( $html ){

	// filter...
	return $html;
}
$html
-

Где вызывается хук

WC_Widget_Recently_Viewed::widget()
woocommerce_before_widget_product_list
WC_Widget_Top_Rated_Products::widget()
woocommerce_before_widget_product_list
WC_Widget_Products::widget()
woocommerce_before_widget_product_list
woocommerce/includes/widgets/class-wc-widget-recently-viewed.php 88
echo wp_kses_post( apply_filters( 'woocommerce_before_widget_product_list', '<ul class="product_list_widget">' ) );
woocommerce/includes/widgets/class-wc-widget-top-rated-products.php 82
echo wp_kses_post( apply_filters( 'woocommerce_before_widget_product_list', '<ul class="product_list_widget">' ) );
woocommerce/includes/widgets/class-wc-widget-products.php 195
echo wp_kses_post( apply_filters( 'woocommerce_before_widget_product_list', '<ul class="product_list_widget">' ) );

Где используется хук в WooCommerce

Использование не найдено.