����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
defined('ABSPATH') or die();
/**
Schedule cron jobs if useCron is true
Else start the functions for testing
*/
define('RSSSL_USE_CRON', true );
if ( RSSSL_USE_CRON ) {
add_action( 'plugins_loaded', 'rsssl_schedule_cron' );
function rsssl_schedule_cron() {
if ( ! wp_next_scheduled( 'rsssl_every_day_hook' ) ) {
wp_schedule_event( time(), 'rsssl_daily', 'rsssl_every_day_hook' );
}
if ( ! wp_next_scheduled( 'rsssl_every_week_hook' ) ) {
wp_schedule_event( time(), 'rsssl_weekly', 'rsssl_every_week_hook' );
}
}
}
/**
* Ensure the hook as a function attached to it.
*/
add_action( 'rsssl_every_day_hook', 'rsssl_daily_cron' );
function rsssl_daily_cron(){
do_action('rsssl_daily_cron');
}
add_action( 'rsssl_every_week_hook', 'rsssl_week_cron' );
function rsssl_week_cron(){
do_action('rsssl_weekly_cron');
}
if ( !RSSSL_USE_CRON ) {
add_action( 'admin_init', 'rsssl_schedule_non_cron' );
function rsssl_schedule_non_cron(){
do_action( 'rsssl_every_day_hook' );
do_action('rsssl_every_week_hook');
}
}
add_filter( 'cron_schedules', 'rsssl_filter_cron_schedules' );
function rsssl_filter_cron_schedules( $schedules ) {
$schedules['rsssl_one_minute'] = array(
'interval' => 60, // seconds
'display' => __('Once every minute')
);
$schedules['rsssl_daily'] = array(
'interval' => DAY_IN_SECONDS,
'display' => __( 'Once every day' )
);
$schedules['rsssl_weekly'] = array(
'interval' => WEEK_IN_SECONDS,
'display' => __( 'Once every week' )
);
return $schedules;
}
register_deactivation_hook( rsssl_file, 'rsssl_clear_scheduled_hooks' );
function rsssl_clear_scheduled_hooks() {
wp_clear_scheduled_hook( 'rsssl_every_day_hook' );
wp_clear_scheduled_hook( 'rsssl_every_week_hook' );
wp_clear_scheduled_hook( 'rsssl_ssl_process_hook' );
}
/**
* Multisite cron
*/
add_action('plugins_loaded', 'rsssl_multisite_schedule_cron', 15);
function rsssl_multisite_schedule_cron()
{
if ( get_site_option('rsssl_ssl_activation_active') ) {
if ( !wp_next_scheduled('rsssl_ssl_process_hook') ) {
wp_schedule_event(time(), 'rsssl_one_minute', 'rsssl_ssl_process_hook');
}
} else {
wp_clear_scheduled_hook('rsssl_ssl_process_hook');
}
add_action( 'rsssl_ssl_process_hook', array( RSSSL()->multisite, 'run_ssl_process' ) );
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| server | Folder | 0755 |
|
|
| tests | Folder | 0755 |
|
|
| wordpress | Folder | 0755 |
|
|
| cron.php | File | 2.24 KB | 0644 |
|
| deactivate-integration.php | File | 1.57 KB | 0644 |
|
| firewall-manager.php | File | 6.19 KB | 0644 |
|
| functions.php | File | 13.71 KB | 0644 |
|
| index.php | File | 31 B | 0644 |
|
| integrations.php | File | 5.36 KB | 0644 |
|
| notices.php | File | 9.02 KB | 0644 |
|
| security.php | File | 1.43 KB | 0644 |
|
| sync-settings.php | File | 2.62 KB | 0644 |
|
| tests.php | File | 12.13 KB | 0644 |
|