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

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

add_filter( 'woocommerce_admin_onboarding_industry_image', 'wp_kama_woocommerce_admin_onboarding_industry_image_filter', 10, 2 );

/**
 * Function for `woocommerce_admin_onboarding_industry_image` filter-hook.
 * 
 * @param  $WC_ADMIN_IMAGES_FOLDER_URL  /onboarding/other-smalljpg 
 * @param  $industry_slug                                          
 *
 * @return 
 */
function wp_kama_woocommerce_admin_onboarding_industry_image_filter( $WC_ADMIN_IMAGES_FOLDER_URL  /onboarding/other-smalljpg, $industry_slug ){

	// filter...
	return $WC_ADMIN_IMAGES_FOLDER_URL  /onboarding/other-smalljpg;
}
$WC_ADMIN_IMAGES_FOLDER_URL /onboarding/other-smalljpg
-
$industry_slug
-

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

В файле: /src/Admin/API/OnboardingTasks.php
woocommerce_admin_onboarding_industry_image
woocommerce/src/Admin/API/OnboardingTasks.php 599
$industry_images[ $industry_slug ] = apply_filters( 'woocommerce_admin_onboarding_industry_image', WC_ADMIN_IMAGES_FOLDER_URL . '/onboarding/other-small.jpg', $industry_slug );

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

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