WordPress.org

Ready to get started?Download WordPress

Codex

Function Reference/check theme switched

Contents

Description

Checks if a theme has been changed and runs 'after_switch_theme' hook on the next WP load

Usage

<?php check_theme_switched(  ); ?>

Change Log

Since: 3.3

Source File

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