woocommerce_admin_onboarding_preloaded_data

woocommerce_admin_onboarding_preloaded_data

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

apply_filters('woocommerce_admin_onboarding_preloaded_data') is found 1 times:

  • /src/Internal/Admin/Onboarding/OnboardingSetupWizard.php line 241
    			$settings['onboarding']['postCount']    = (int) ( wp_count_posts( 'post' ) )->publish;
    			$settings['onboarding']['isBlockTheme'] = wc_current_theme_is_fse_theme();
    		}
    
    		return apply_filters( 'woocommerce_admin_onboarding_preloaded_data', $settings );
    	}
    
    	/**
    	 * Preload WC setting options to prime state of the application.
    	 *
    	 * @param array $options Array of options to preload.
    

See this hook used in plugins: