wphooks.info - template_directory

template_directory

(trunk - 5.1-alpha-44286)

The hook occurs in the following file:

wp-includes/theme.php:
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
	/**
	 * Filters the current theme directory path.
	 *
	 * @since 1.5.0
	 *
	 * @param string $template_dir The URI of the current theme directory.
	 * @param string $template     Directory name of the current theme.
	 * @param string $theme_root   Absolute path to the themes directory.
	 */
	return apply_filters( 'template_directory', $template_dir, $template, $theme_root );
}

/**
 * Retrieve theme directory URI.
 *
 * @since 1.5.0
 *
 * @return string Template directory URI.
 */