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

# porter\_public\_styles\_default\_args

Filters defaults merged into each stylesheet in `settings.public.styles`.

```php
add_filter( 'porter_public_styles_default_args', function ( array $defaults ) : array {
    $defaults['deps'][] = 'global-styles';
    return $defaults;
} );
```

Defaults: empty `src`, no dependencies, and the active theme version. Individual asset configuration takes precedence.
