WordPress at a glance
function is not described

WC_Regenerate_Images_Request::adjust_intermediate_image_sizes() public WC 1.0

Returns the sizes we want to regenerate.

{} It's a method of the class: WC_Regenerate_Images_Request{}

Return

Array. Nothing.

Usage

$WC_Regenerate_Images_Request = new WC_Regenerate_Images_Request();
$WC_Regenerate_Images_Request->adjust_intermediate_image_sizes( $sizes );
$sizes(array) (required)
Sizes to generate.

Code of WC_Regenerate_Images_Request::adjust_intermediate_image_sizes() WC 5.3.0

<?php
public function adjust_intermediate_image_sizes( $sizes ) {
	// Prevent a filter loop.
	$unfiltered_sizes = array( 'woocommerce_thumbnail', 'woocommerce_gallery_thumbnail', 'woocommerce_single' );
	static $in_filter = false;
	if ( $in_filter ) {
		return $unfiltered_sizes;
	}
	$in_filter      = true;
	$filtered_sizes = apply_filters( 'woocommerce_regenerate_images_intermediate_image_sizes', $unfiltered_sizes );
	$in_filter      = false;
	return $filtered_sizes;
}