apply_filters( 'template_directory', string $template_dir, string $template, string $theme_root )

Filters the current theme directory path.

Parameters Parameters


(string) The path of the current theme directory.


(string) Directory name of the current theme.


(string) Absolute path to the themes directory.

Top ↑

Source Source

File: wp-includes/theme.php

View on Trac

Top ↑

Changelog Changelog

Version Description
1.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

Top ↑

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