apply_filters( 'hivepress/v1/blocks/{block_type}', $props, $block ) → {array}
Filters the block properties. The dynamic part of the hook refers to the block type (e.g. listings
). You can check the available block types in the includes/blocks
directory of HivePress.
Parameters:
Name | Type | Description |
---|---|---|
$props |
array | Block properties. |
$block |
object | Block object. |
- Source:
Returns:
Block properties.
- Type
- array