[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@3.14.144.101: ~ $
<?php
/**
 * UR Cron
 * UR
 *
 * @package     UR
 * @subpackage  Classes/Cron
 * @since 2.3.2
 */

// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

/**
 * UR_Cron Class
 *
 * This class handles scheduled events
 *
 * @since 2.3.2
 */
class UR_Cron {


	/**
	 * Init WordPress hook
	 *
	 * @since 2.3.2
	 * @see UR_Cron::weekly_events()
	 */
	public function __construct() {
		add_filter( 'cron_schedules', array( $this, 'add_schedules' ) );
		add_action( 'init', array( $this, 'schedule_events' ) );
	}

	/**
	 * Registers new cron schedules
	 *
	 * @param array $schedules Schedules.
	 * @return array
	 * @since 2.3.2
	 */
	public function add_schedules( $schedules = array() ) {
		/*Adds once in biweekly to the existing schedules*/
		$schedules['biweekly'] = array(
			'interval' => ( DAY_IN_SECONDS * 15 ),
			'display'  => __( 'Every 15 days', 'user-registration' ),
		);

		return $schedules;
	}

	/**
	 * Schedules our events
	 *
	 * @return void
	 * @since 2.3.2
	 */
	public function schedule_events() {
		$this->usage_cron();
	}

	/**
	 * Schedule biweekly events
	 *
	 * @return void
	 * @since 2.3.2
	 */
	private function usage_cron() {
		if ( ! wp_next_scheduled( 'user_registration_usage_stats_scheduled_events' ) && ur_option_checked( 'user_registration_allow_usage_tracking', false ) ) {
			wp_schedule_event( time(), 'biweekly', 'user_registration_usage_stats_scheduled_events' );
		}
	}

}

$user_registration_cron = new UR_Cron();

Filemanager

Name Type Size Permission Actions
3rd-party Folder 0755
RestApi Folder 0755
abstracts Folder 0755
admin Folder 0755
blocks Folder 0755
form Folder 0755
frontend Folder 0755
interfaces Folder 0755
libraries Folder 0755
log-handlers Folder 0755
shortcodes Folder 0755
stats Folder 0755
validation Folder 0755
class-ur-ajax.php File 60.74 KB 0644
class-ur-autoloader.php File 2.25 KB 0644
class-ur-background-updater.php File 2.46 KB 0644
class-ur-cache-helper.php File 2.61 KB 0644
class-ur-cron.php File 1.44 KB 0644
class-ur-email-approval.php File 7.15 KB 0644
class-ur-email-confirmation.php File 16.92 KB 0644
class-ur-emailer.php File 46.02 KB 0644
class-ur-form-block.php File 4.58 KB 0644
class-ur-form-handler.php File 37.01 KB 0644
class-ur-frontend-scripts.php File 24.51 KB 0644
class-ur-install.php File 21.99 KB 0644
class-ur-log-levels.php File 2.79 KB 0644
class-ur-logger.php File 8.64 KB 0644
class-ur-plugin-updater.php File 25.9 KB 0644
class-ur-post-types.php File 4.03 KB 0644
class-ur-preview.php File 8.18 KB 0644
class-ur-privacy.php File 7.44 KB 0644
class-ur-query.php File 6.05 KB 0644
class-ur-session-handler.php File 10.59 KB 0644
class-ur-shortcodes.php File 16.27 KB 0644
class-ur-smart-tags.php File 28.28 KB 0644
class-ur-user-approval.php File 18.43 KB 0644
functions-ur-account.php File 10.23 KB 0644
functions-ur-core.php File 247.9 KB 0644
functions-ur-deprecated.php File 7.7 KB 0644
functions-ur-form.php File 1.47 KB 0644
functions-ur-notice.php File 7.42 KB 0644
functions-ur-page.php File 11.17 KB 0644
functions-ur-template.php File 68.04 KB 0644
functions-ur-update.php File 13.99 KB 0644