apply_filters( 'hivepress/v1/templates/{template_name}', $props, $template ) → {array}
Filters the template properties. 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 |
---|---|---|
$props |
array | Template properties. |
$template |
object | Template object. |
- Source:
Returns:
Template properties.
- Type
- array