1 | | As @coreyw mentioned, if the provided filename has `block.json` at the end, then it works. However, the [https://developer.wordpress.org/block-editor/reference-guides/block-api/block-metadata/#php-server-side Docs] specify `or full path to the metadata file if named differently`. |
| 1 | As @coreyw mentioned, if the provided filename has `block.json` at the end, then it works. |
| 2 | |
| 3 | However, the [https://developer.wordpress.org/block-editor/reference-guides/block-api/block-metadata/#php-server-side Docs] specify `or full path to the metadata file if named differently`. This would suggest that any filename with `.json` should work, such as `custom_metadata.json`. |