porter_blockstyles_path

Type: Filter Location: includes/porter-config-block-styles.php:132

apply_filters( 'porter_blockstyles_path', ... );

Description

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

Parameters

Position
Variable
Description

1

$path

Description pending

2

$blockName

Description pending

3

$styleName

Description pending

Example

add_filter( 'porter_blockstyles_path', function ( $value, $blockName, , $styleName ) {
    // Modify value here.
    return $value;
} );

Last updated