Recent

crp_block_options filter

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

TypeNameDescription
array$argumentsCRP block options array.
array$attributesBlock attributes array.

Usage

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