do_action( ‘wp_before_include_template’, string $template )

In this article

Fires immediately before including the template.

Parameters

$templatestring
The path of the template about to be included.

Source

do_action( 'wp_before_include_template', $template );

Changelog

VersionDescription
6.9.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.