is_child_theme [ WordPress Function ]
is_child_theme ( No parameters )
| Returns: |
|
| Defined at: |
|
Soorgelijke functies: switch_theme, display_theme, display_themes, load_child_theme_textdomain, is_archive
Whether a child theme is in use.
Examples [ wp-snippets.com ]
Top Google zoekresultaten
- Function Reference/is child theme « WordPress Codex
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 ...
codex.wordpress.org - #12998 (Introduce is_child_theme()) – WordPress Trac
Patch adds a new is_child_theme() function to wp-includes/theme.php. It returns true or false depending whether the active theme is a child theme or not.
core.trac.wordpress.org - WP_Theme cleanups: get_files, scandir, is_child_theme, multiple
is_child_theme() simply checks if template !== stylesheet. However, it is possible for it to be a child theme under this definition, but to not have a valid parent.
core.trac.wordpress.org - is_child_theme | A HitchHackers guide through WordPress
Feb 12, 2011 ... Source code. function is_child_theme() { return ( TEMPLATEPATH !== STYLESHEETPATH ); }. 2101. Rate this: Share this: Twitter · Facebook ...
hitchhackerguide.com