> 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/filters/porter_wp_config_filepath.md).

# porter\_wp\_config\_filepath

**Type:** Filter\
**Location:** `includes/traits/config.php:58`

```php
apply_filters( 'porter_wp_config_filepath', ... );
```

## Description

Modify the value passed through this filter to customise PorterWP behaviour.

## Parameters

| Position | Variable    | Description         |
| -------- | ----------- | ------------------- |
| 1        | `$filepath` | Description pending |
| 2        | `$file`     | Description pending |

## Example

```php
add_filter( 'porter_wp_config_filepath', function ( $value, $file ) {
    // Modify value here.
    return $value;
} );
```
