woocommerce_background_image_regeneration filter-hookWC 1.0

phpcs:disable WooCommerce.Commenting.CommentHooks.MissingHookComment

Usage

add_filter( 'woocommerce_background_image_regeneration', 'wp_kama_woocommerce_background_image_regeneration_filter' );

/**
 * Function for `woocommerce_background_image_regeneration` filter-hook.
 * 
 * @param  $true 
 *
 * @return 
 */
function wp_kama_woocommerce_background_image_regeneration_filter( $true ){

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

Where the hook is called

WC_Shop_Customizer::add_product_images_section()
woocommerce_background_image_regeneration
WC_Regenerate_Images::init()
woocommerce_background_image_regeneration
WC_REST_System_Status_Tools_V2_Controller::get_tools()
woocommerce_background_image_regeneration
woocommerce/includes/customizer/class-wc-shop-customizer.php 583
} elseif ( apply_filters( 'woocommerce_background_image_regeneration', true ) && ! is_multisite() ) {
woocommerce/includes/class-wc-regenerate-images.php 46
if ( apply_filters( 'woocommerce_background_image_regeneration', true ) ) {
woocommerce/includes/customizer/class-wc-shop-customizer.php 586
} elseif ( apply_filters( 'woocommerce_background_image_regeneration', true ) && is_multisite() ) {
woocommerce/includes/rest-api/Controllers/Version2/class-wc-rest-system-status-tools-v2-controller.php 232
if ( ( class_exists( 'Jetpack' ) && Jetpack::is_module_active( 'photon' ) ) || ! apply_filters( 'woocommerce_background_image_regeneration', true ) ) {

Where the hook is used in WooCommerce

Usage not found.