A WordPress-centric search engine for devs and theme authors



is_child_theme ›

Since3.0.0
Deprecatedn/a
is_child_theme ( No parameters )
Returns:
  • (bool) true if a child theme is in use, false otherwise.
Defined at:
Codex:

Whether a child theme is in use.



Source

function is_child_theme() {
	return ( TEMPLATEPATH !== STYLESHEETPATH );
}