> 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_core_blockstyles_path.md). Agents can also search and read this documentation through its [MCP server](https://whoisandywhite.gitbook.io/porterwp/~gitbook/mcp).

# porter\_core\_blockstyles\_path

Filters the directory scanned for core block CSS that Porter merges into the active `theme.json` data.

```php
add_filter( 'porter_core_blockstyles_path', function ( string $directory ) : string {
    return get_stylesheet_directory() . '/assets/core-block-css';
} );
```

The default is `porter/inc/block/core/styles/css/`. CSS files in the returned directory participate in Porter's theme- and source-aware cache signature.
