Filter: hivepress/v1/templates/{template_name}/blocks

apply_filters( 'hivepress/v1/templates/{template_name}/blocks', $blocks, $template ) → {array}

Filters template blocks. At the time of this hook the template context is already available. The dynamic part of the hook refers to the template name (e.g. listing_view_page). You can check the available templates in the includes/templates directory of HivePress.

Parameters:
Name Type Description
$blocks array

Template blocks.

$template object

Template object.

Source:
Returns:

Template blocks.

Type
array