# Assets

PorterWP registers and enqueues its assets through dedicated configuration classes. You can customise the default arguments of these registrations using four public filters:

* [`porter_public_styles_default_args`](https://whoisandywhite.gitbook.io/porterwp/filters/porter_public_styles_default_args)
* [`porter_public_scripts_default_args`](https://whoisandywhite.gitbook.io/porterwp/filters/porter_public_scripts_default_args)
* [`porter_editor_styles_default_args`](https://whoisandywhite.gitbook.io/porterwp/filters/porter_editor_styles_default_args)
* [`porter_editor_scripts_default_args`](https://whoisandywhite.gitbook.io/porterwp/filters/porter_editor_scripts_default_args)

Each filter receives the **defaults array** as its first argument.\
Return your modified array to override handles, dependencies, versions, or file paths.

```php
add_filter( 'porter_public_styles_default_args', function ( $defaults ) {
    $defaults['src'] = get_stylesheet_directory_uri() . '/assets/css/public.min.css';
    return $defaults;
} );
```

See the linked pages for full details and examples.
