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

# porter\_editor\_styles\_default\_args

Filters defaults merged into each stylesheet in `settings.admin.editor_styles`.

```php
add_filter( 'porter_editor_styles_default_args', function ( array $defaults ) : array {
    $defaults['deps'][] = 'my-editor-tokens';
    return $defaults;
} );
```

Defaults: empty `src`, dependency `wp-edit-blocks`, and the active theme version. Individual asset configuration takes precedence.
