wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_set_template_globals › WordPress Function

Since6.5.0
Deprecatedn/a
wp_set_template_globals ( No parameters )
Defined at:
Codex:

Set up the globals used for template loading.



Source

function wp_set_template_globals() {
	global $wp_stylesheet_path, $wp_template_path;

	$wp_stylesheet_path = get_stylesheet_directory();
	$wp_template_path   = get_template_directory();
}