Recent

crp_block_optionsfilter

crp_block_options

Filters arguments passed to get_crp for the block.

Type: filter
Since: 2.8.0
Source: includes/frontend/blocks/class-blocks.php line 106

Parameters

Type Name Description
array $arguments CRP block options array.
array $attributes Block attributes array.

Usage

add_filter( 'crp_block_options', function($arguments, $attributes) {
    // ...
    return $arguments;
} );