porter_blocks_array

Type: Filter Location: includes/premium/custom-blocks/init.php:241

apply_filters( 'porter_blocks_array', ... );

Description

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

Parameters

Position
Variable
Description

1

$blocks

Description pending

Example

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

Last updated