porter_block_patterns_path
Type: Filter
Location: includes/porter-config-patterns.php:135
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
add_filter( 'porter_block_patterns_path', function ( $value, $patternName ) {
// Modify value here.
return $value;
} );
Last updated