> For the complete documentation index, see [llms.txt](https://whoisandywhite.gitbook.io/porterwp/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://whoisandywhite.gitbook.io/porterwp/developer-api/hooks/porter_dynamic_blocks.md). Agents can also search and read this documentation through its [MCP server](https://whoisandywhite.gitbook.io/porterwp/~gitbook/mcp).

# porter\_dynamic\_blocks

Filters the block names whose Porter style CSS is appended during server rendering rather than registered as a normal block style asset.

```php
add_filter( 'porter_dynamic_blocks', function ( array $blocks ) : array {
    $blocks[] = 'core/post-template';
    return $blocks;
} );
```

The default is `[ 'core/query' ]`. Return complete block names including their namespace.
