# Main::version_block_assets()

Version the styles of every Clanbite block by its build time instead of the `version` in block.json.

Every block.json says `1.0.0`, and WordPress prints that as the stylesheet's `ver=`. A browser or CDN that cached a block's CSS
kept serving the old file after an update because the address never changed. The file's modification time changes with each
build, so a new release always loads new CSS. Applies to blocks of this plugin and of every Clanbite add-on.

```php
version_block_assets( $metadata )
```

## Parameters

- `$metadata` (array<string, mixed>) Block metadata being registered.

## Return

`array<string, mixed>` 

## Changelog

| Version | Description |
| --- | --- |
| 1.6.5 | Introduced |
