woocommerce_admin_onboarding_themes
Использование
add_filter( 'woocommerce_admin_onboarding_themes', 'wp_kama_woocommerce_admin_onboarding_themes_filter' ); /** * Function for `woocommerce_admin_onboarding_themes` filter-hook. * * @param $themes * * @return */ function wp_kama_woocommerce_admin_onboarding_themes_filter( $themes ){ // filter... return $themes; }
- $themes
- -
Где вызывается хук
woocommerce_admin_onboarding_themes
woocommerce/src/Internal/Admin/Onboarding/OnboardingThemes.php 161
$themes = apply_filters( 'woocommerce_admin_onboarding_themes', $themes );