wphooks.info - template

template

(trunk - 5.1-alpha-44286)

The hook occurs in the following file:

wp-includes/theme.php:
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
 * @return string Template name.
 */
function get_template() {
	/**
	 * Filters the name of the current theme.
	 *
	 * @since 1.5.0
	 *
	 * @param string $template Current theme's directory name.
	 */
	return apply_filters( 'template', get_option( 'template' ) );
}

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