public static function get_asset_url($file)
    {
        if (static::$manifest === null) {
            static::parse_manifest();
        }

        // There was no manifest or no file present.
        if (static::$manifest === null || !isset(static::$manifest[ $file ])) {
            return get_stylesheet_directory_uri() . '/public' . $file;
        }

        return get_stylesheet_directory_uri() . '/public' . static::$manifest[ $file ];
    }
public static function get_asset_url($file)
    {
        if (static::$manifest === null) {
            static::parse_manifest();
        }

        // There was no manifest or no file present.
        if (static::$manifest === null || !isset(static::$manifest[ $file ])) {
            return get_stylesheet_directory_uri() . '/public' . $file;
        }

        return get_stylesheet_directory_uri() . '/public' . static::$manifest[ $file ];
    }
public static function get_asset_url ( $ file ) { if ( static :: $ manifest === null ) { static :: parse_manifest ( ) ; } // There was no manifest or no file present. if ( static :: $ manifest === null || ! isset ( static :: $ manifest [ $ file ] ) ) { return get_stylesheet_directory_uri ( ) . '/public' . $ file ; } return get_stylesheet_directory_uri ( ) . '/public' . static :: $ manifest [ $ file ] ; }
Retrieves a filename public URL with Webpack version ID if present.

@param  string $file The asset file to look for.
@return string The (possibly versioned) asset URL.
Retrieves a filename public URL with Webpack version ID if present .