Definition:
function is_child_theme() {}
Whether a child theme is in use.
Return values
returns:true if a child theme is in use, false otherwise.
Source code
function is_child_theme() {
return ( TEMPLATEPATH !== STYLESHEETPATH );
}
2101

February 12, 2011 


No comments yet... Be the first to leave a reply!