Skip to main content

Filter: gk/gravityactions/template_done

Allow users to disable templates before rendering it by returning empty string.

Parameters

NameTypeDescription
$stringnull Whether to continue displaying the template or not.
$namearrayTemplate name.
$template_varsarrayAny template vars data you need to expose to this file.
$echoboolIf we should also print the Template.

Since

Source

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