$action, 'theme' => $slug, 'school_downgrade' => 1, ), admin_url( 'update.php' ) ), $action . '_' . $slug ); $continue_url = wp_nonce_url( add_query_arg( array( 'school_v2_ok' => 1, ) ), 'school_nonce' ); $learn_more_url = 'https://docs.wpgeodirectory.com/article/729-beta-release-of-the-new-fse-directory-theme'; ?>

", '' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped echo esc_attr__( 'Version 2 of School theme has changed to be a block theme, this will require manual work to recreate your current layout.', 'school' ); ?>


get( 'Version' ); if ( check_admin_referer( 'install-theme_school' ) && ! empty( $_REQUEST['theme'] ) && 'school' === $_REQUEST['theme'] && ! empty( $_REQUEST['school_downgrade'] ) ) { update_option( 'template', 'school' ); } } } add_filter( 'upgrader_post_install', 'school_theme_downgrade_completed', 10, 2 );