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.9.5.1

apply_filters('woocommerce_admin_is_loading') is found 1 times:

  • /src/Internal/Admin/Loader.php line 182
    		 *
    		 * @param bool $is_loading If WooCommerce Admin is loading a fullscreen view.
    		 * @since 6.5.0
    		 */
    		$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: