WordPress.org

Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/is child theme

Description

Whether a child theme is in use.

Usage

<?php is_child_theme(); ?>

Return Values

(bool) 
true if a child theme is in use, false otherwise.

Change Log

Since: 3.0

Source File

is_child_theme() is located in wp-includes/theme.php

See also index of Function Reference and index of Template Tags.