W3cubDocs

/WordPress

apply_filters( 'template_directory_uri', string $template_dir_uri, string $template, string $theme_root_uri )

Filters the current theme directory URI.

Parameters

$template_dir_uri

(string) The URI of the current theme directory.

$template

(string) Directory name of the current theme.

$theme_root_uri

(string) The themes root URI.

Source

File: wp-includes/theme.php

View on Trac

Changelog

Version Description
1.5.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/template_directory_uri