You appear to be a bot. Output may be restricted
Description
Prevent switching to Twenty Sixteen on old versions of WordPress.
Switches to the default theme.
Usage
twentysixteen_switch_theme();
Parameters
Returns
void
Source
File name: twentysixteen/inc/back-compat.php
Lines:
1 to 7 of 7
function twentysixteen_switch_theme() { switch_theme( WP_DEFAULT_THEME, WP_DEFAULT_THEME ); unset( $_GET['activated'] ); add_action( 'admin_notices', 'twentysixteen_upgrade_notice' ); }