apply_filters( 'tribe_template_html', string $html, string $file, array $name, self $template )

Allow users to filter the final HTML


Parameters #

$html

(string) The final HTML

$file

(string) Complete path to include the PHP File

$name

(array) Template name

$template

(self) Current instance of the Tribe__Template


Top ↑

Source #

File: src/Tribe/Template.php


Top ↑

Changelog #

Changelog
Version Description
4.7.20 The $name param no longer contains the extension
4.6.2 Introduced.