woocommerce_admin_is_loading

woocommerce_admin_is_loading

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

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_admin_is_loading') is found 1 times:

  • /src/Internal/Admin/Loader.php line 164
    		 * This class needs to be removed by those feature components (like <ProfileWizard />).
    		 *
    		 * @param bool $is_loading If WooCommerce Admin is loading a fullscreen view.
    		 */
    		$is_loading = apply_filters( 'woocommerce_admin_is_loading', false );
    
    		if ( PageController::is_admin_page() && $is_loading ) {
    			$classes[] = 'woocommerce-admin-is-loading';
    		}
    
    		$admin_body_class = implode( ' ', array_unique( $classes ) );
    

See this hook used in plugins: