WordPress at Your Fingertips
filter is not described

woocommerce_admin_is_loading filter-hook . WC 1.0

Some routes or features like onboarding hide the wp-admin navigation and masterbar. Setting woocommerce_admin_is_loading true allows us to premeptively hide these elements while the JS app loads. This class needs to be removed by those feature components (like <ProfileWizard />).


add_filter( 'woocommerce_admin_is_loading', 'filter_function_name_1067' );
function filter_function_name_1067( $is_loading ){
	// filter...

	return $is_loading;
If WooCommerce Admin is loading a fullscreen view.

Where the hook is called

woocommerce/packages/woocommerce-admin/src/Loader.php 882
$is_loading = apply_filters( 'woocommerce_admin_is_loading', false );

Where in WP core the hook is used WooCommerce

woocommerce/packages/woocommerce-admin/src/Features/Onboarding.php 221
add_filter( 'woocommerce_admin_is_loading', array( $this, 'is_loading' ) );