WordPress at a glance
filter is not described

woocommerce_related_products filter-hook . WC 1.0

Usage

add_filter( 'woocommerce_related_products', 'filter_function_name_8107', 10, 3 );
function filter_function_name_8107( $related_posts, $product_id, $array ){
	// filter...

	return $related_posts;
}
$related_posts
-
$product_id
-
$array
-

Where the hook is called

wc_get_related_products()
woocommerce_related_products
woocommerce/includes/wc-product-functions.php 916-924
$related_posts = apply_filters(
	'woocommerce_related_products',
	$related_posts,
	$product_id,
	array(
		'limit'        => $limit,
		'excluded_ids' => $exclude_ids,
	)
);

Where in WP core the hook is used WooCommerce

Usage not found.