File "activate.php"
Full path: /home/satitravel/public_html/plugins/better-wp-security/core/modules/backup/activate.php
File
size: 292 B
MIME-type: text/x-php
Charset: utf-8
Download Open Edit Advanced Editor &nnbsp; Back
<?php
$settings = ITSEC_Modules::get_settings( 'backup' );
if ( $settings['enabled'] && $settings['interval'] > 0 ) {
ITSEC_Core::get_scheduler()->register_custom_schedule( 'backup', DAY_IN_SECONDS * $settings['interval'] );
ITSEC_Core::get_scheduler()->schedule( 'backup', 'backup' );
}