Skip to main content

Filter: gk/gravityactions/template_pre_html:{$hook_name}

Allow users to filter the HTML by the name before rendering.

E.g.: gk-gravityactions/template_pre_html:form/details/text gk-gravityactions/template_pre_html:form/entry

Parameters

NameTypeDescription
$htmlstringThe initial HTML
$filestringComplete path to include the PHP File
$namearrayTemplate name
$templateselfCurrent instance of the Template

Since

Source

Defined in src/GravityActions/Template.php at line 740