X7ROOT File Manager
Current Path:
/home/magneti1/public_html/wp-content/plugins/everest-forms/includes
home
/
magneti1
/
public_html
/
wp-content
/
plugins
/
everest-forms
/
includes
/
ðŸ“
..
ðŸ“
Helpers
ðŸ“
RestApi
ðŸ“
abstracts
ðŸ“
admin
ðŸ“
blocks
📄
class-everest-forms.php
(13.76 KB)
📄
class-evf-ajax.php
(71.97 KB)
📄
class-evf-autoloader.php
(1.92 KB)
📄
class-evf-background-process-import-entries.php
(5.15 KB)
📄
class-evf-background-updater.php
(3.27 KB)
📄
class-evf-cache-helper.php
(2.32 KB)
📄
class-evf-cron.php
(1.83 KB)
📄
class-evf-deprecated-action-hooks.php
(3.91 KB)
📄
class-evf-deprecated-filter-hooks.php
(3.64 KB)
📄
class-evf-emails.php
(19.32 KB)
📄
class-evf-fields.php
(3.58 KB)
📄
class-evf-form-handler.php
(13.66 KB)
📄
class-evf-form-task.php
(70.19 KB)
📄
class-evf-forms-features.php
(1.49 KB)
📄
class-evf-frontend-scripts.php
(15.58 KB)
📄
class-evf-install.php
(20.96 KB)
📄
class-evf-integrations.php
(3.3 KB)
📄
class-evf-log-levels.php
(2.61 KB)
📄
class-evf-logger.php
(8.27 KB)
📄
class-evf-post-types.php
(5.13 KB)
📄
class-evf-privacy.php
(7.41 KB)
📄
class-evf-report-cron.php
(6.93 KB)
📄
class-evf-reporting.php
(3.48 KB)
📄
class-evf-session-handler.php
(8.02 KB)
📄
class-evf-shortcodes.php
(2.04 KB)
📄
class-evf-smart-tags.php
(19.59 KB)
📄
class-evf-template-loader.php
(13.08 KB)
📄
class-evf-validation.php
(934 B)
ðŸ“
elementor
📄
evf-conditional-functions.php
(1.21 KB)
📄
evf-core-functions.php
(197.64 KB)
📄
evf-deprecated-functions.php
(6.22 KB)
📄
evf-entry-functions.php
(9.22 KB)
📄
evf-formatting-functions.php
(25.18 KB)
📄
evf-notice-functions.php
(6.23 KB)
📄
evf-template-functions.php
(1.2 KB)
📄
evf-template-hooks.php
(439 B)
📄
evf-update-functions.php
(16.68 KB)
ðŸ“
export
ðŸ“
fields
ðŸ“
interfaces
ðŸ“
libraries
ðŸ“
log-handlers
ðŸ“
shortcodes
ðŸ“
stats
ðŸ“
templates
Editing: class-evf-cron.php
<?php /** * Everest Forms Cron * * @package EverestForms * @since 1.9.8 */ defined( 'ABSPATH' ) || exit; /** * EVF_Cron Class * * This class handles scheduled events */ class EVF_Cron { /** * Init WordPress hook * * @see EVF_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. */ 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', 'everest-forms' ), ); // Adds once in a day to the existing schedules. $schedules['evf_daily'] = array( 'interval' => \DAY_IN_SECONDS, 'display' => esc_html__( 'Email entries summary once a day', 'everest-forms' ), ); // Adds once a week in to the existing schedules. $schedules['evf_weekly'] = array( 'interval' => \WEEK_IN_SECONDS, 'display' => esc_html__( 'Email entries summary once a week', 'everest-forms' ), ); // Adds once a month in the existing schedules. $schedules['evf_monthly'] = array( 'interval' => \MONTH_IN_SECONDS, 'display' => esc_html__( 'Email entries summary once a month', 'everest-forms' ), ); return $schedules; } /** * Schedules our events * * @return void */ public function schedule_events() { $this->biweekly_events(); } /** * Schedule biweekly events * * @return void */ private function biweekly_events() { if ( ! wp_next_scheduled( 'everest_forms_biweekly_scheduled_events' ) ) { wp_schedule_event( time(), 'biweekly', 'everest_forms_biweekly_scheduled_events' ); } } } $everest_forms_cron = new EVF_Cron();
Upload File
Create Folder