wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



is_child_theme › WordPress Function

Da3.0.0
Deprecaton/a
is_child_theme ( Nessun parametro )
Ritorna:
  • (bool) True if a child theme is in use, false otherwise.
Definito a:
Codex:
ChangeLog:
  • 6.5.0

Whether a child theme is in use.



Sorgenti

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

	return $wp_stylesheet_path !== $wp_template_path;
}