apply_filters( ‘template_directory_uri’, string $template_dir_uri, string $template, string $theme_root_uri )

In this article

Filters the active theme directory URI.

Parameters

$template_dir_uristring
The URI of the active theme directory.
$templatestring
Directory name of the active theme.
$theme_root_uristring
The themes root URI.

Source

return apply_filters( 'template_directory_uri', $template_dir_uri, $template, $theme_root_uri );

Changelog

VersionDescription
1.5.0Introduced.

User Contributed Notes

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