# porter\_block\_patterns\_path

**Type:** Filter\
**Location:** `includes/porter-config-patterns.php:135`

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

## Description

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

## Parameters

| Position | Variable       | Description         |
| -------- | -------------- | ------------------- |
| 1        | `$path`        | Description pending |
| 2        | `$patternName` | Description pending |

## Example

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