WordPress at a glance
filter is not described

woocommerce_status_widget_low_in_stock_count_pre_query filter-hook . WC 4.3.0

Status widget low in stock count pre query.

Usage

add_filter( 'woocommerce_status_widget_low_in_stock_count_pre_query', 'filter_function_name_8455', 10, 3 );
function filter_function_name_8455( $low_in_stock_count, $stock, $nostock ){
	// filter...

	return $low_in_stock_count;
}
$low_in_stock_count(null|string)
Low in stock count, by default null.
$stock(int)
Low stock amount.
$nostock(int)
No stock amount

Changelog

Since 4.3.0 Introduced.

Where the hook is called

WC_Admin_Dashboard::status_widget_stock_rows()
woocommerce_status_widget_low_in_stock_count_pre_query
woocommerce/includes/admin/class-wc-admin-dashboard.php 227
$lowinstock_count = apply_filters( 'woocommerce_status_widget_low_in_stock_count_pre_query', null, $stock, $nostock );

Where in WP core the hook is used WooCommerce

Usage not found.