woocommerce_admin_onboarding_preloaded_data
Usage
add_filter( 'woocommerce_admin_onboarding_preloaded_data', 'wp_kama_woocommerce_admin_onboarding_preloaded_data_filter' ); /** * Function for `woocommerce_admin_onboarding_preloaded_data` filter-hook. * * @param $settings * * @return */ function wp_kama_woocommerce_admin_onboarding_preloaded_data_filter( $settings ){ // filter... return $settings; }
- $settings
- -
Where the hook is called
woocommerce_admin_onboarding_preloaded_data
woocommerce/src/Internal/Admin/Onboarding/OnboardingSetupWizard.php 241
return apply_filters( 'woocommerce_admin_onboarding_preloaded_data', $settings );
Where the hook is used in WooCommerce
woocommerce/src/Internal/Admin/Onboarding/OnboardingIndustries.php 16
add_filter( 'woocommerce_admin_onboarding_preloaded_data', array( __CLASS__, 'preload_data' ) );
woocommerce/src/Internal/Admin/Onboarding/OnboardingThemes.php 33
add_filter( 'woocommerce_admin_onboarding_preloaded_data', array( __CLASS__, 'preload_data' ) );