PluginProbe ʕ •ᴥ•ʔ
WP Mail SMTP by WPForms – The Most Popular SMTP and Email Log Plugin / 3.0.1
WP Mail SMTP by WPForms – The Most Popular SMTP and Email Log Plugin v3.0.1
4.9.0 0.9.6 1.0.0 1.0.1 1.0.2 1.1.0 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.3.0 1.3.1 1.3.2 1.3.3 1.4.0 1.4.1 1.4.2 1.5.0 1.5.1 1.5.2 1.6.0 1.6.2 1.7.0 1.7.1 1.8.0 1.8.1 1.9.0 2.0.0 2.0.1 2.1.1 2.2.1 2.3.1 2.4.0 2.5.0 2.5.1 2.6.0 2.7.0 2.8.0 2.9.0 3.0.1 3.0.2 3.0.3 3.1.0 3.10.0 3.11.0 3.11.1 3.2.0 3.2.1 3.3.0 3.4.0 3.5.0 3.5.1 3.5.2 3.6.1 3.7.0 3.8.0 3.8.2 3.9.0 4.0.1 4.1.0 4.1.1 4.2.0 4.3.0 4.4.0 4.5.0 4.6.0 4.7.0 4.7.1 4.8.0 trunk 0.10.0 0.10.1 0.11.1 0.11.2 0.3.1 0.3.2 0.4 0.4.1 0.4.2 0.5.0 0.5.1 0.5.2 0.6 0.7 0.8 0.8.2 0.8.3 0.8.4 0.8.5 0.8.6 0.8.7 0.9.0 0.9.1 0.9.2 0.9.3 0.9.4 0.9.5
wp-mail-smtp / vendor / woocommerce / action-scheduler / action-scheduler.php
wp-mail-smtp / vendor / woocommerce / action-scheduler Last commit date
classes 4 years ago deprecated 4 years ago lib 4 years ago action-scheduler.php 4 years ago changelog.txt 4 years ago functions.php 4 years ago license.txt 4 years ago readme.txt 4 years ago
action-scheduler.php
59 lines
1 <?php
2 /*
3 * Plugin Name: Action Scheduler
4 * Plugin URI: https://actionscheduler.org
5 * Description: A robust scheduling library for use in WordPress plugins.
6 * Author: Automattic
7 * Author URI: https://automattic.com/
8 * Version: 3.2.1
9 * License: GPLv3
10 *
11 * Copyright 2019 Automattic, Inc. (https://automattic.com/contact/)
12 *
13 * This program is free software: you can redistribute it and/or modify
14 * it under the terms of the GNU General Public License as published by
15 * the Free Software Foundation, either version 3 of the License, or
16 * (at your option) any later version.
17 *
18 * This program is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
22 *
23 * You should have received a copy of the GNU General Public License
24 * along with this program. If not, see <https://www.gnu.org/licenses/>.
25 *
26 */
27
28 if ( ! function_exists( 'action_scheduler_register_3_dot_2_dot_1' ) ) {
29
30 if ( ! class_exists( 'ActionScheduler_Versions' ) ) {
31 require_once( 'classes/ActionScheduler_Versions.php' );
32 add_action( 'plugins_loaded', array( 'ActionScheduler_Versions', 'initialize_latest_version' ), 1, 0 );
33 }
34
35 add_action( 'plugins_loaded', 'action_scheduler_register_3_dot_2_dot_1', 0, 0 );
36
37 function action_scheduler_register_3_dot_2_dot_1() {
38 $versions = ActionScheduler_Versions::instance();
39 $versions->register( '3.2.1', 'action_scheduler_initialize_3_dot_2_dot_1' );
40 }
41
42 function action_scheduler_initialize_3_dot_2_dot_1() {
43 // A final safety check is required even here, because historic versions of Action Scheduler
44 // followed a different pattern (in some unusual cases, we could reach this point and the
45 // ActionScheduler class is already defined—so we need to guard against that).
46 if ( ! class_exists( 'ActionScheduler' ) ) {
47 require_once( 'classes/abstracts/ActionScheduler.php' );
48 ActionScheduler::init( __FILE__ );
49 }
50 }
51
52 // Support usage in themes - load this version if no plugin has loaded a version yet.
53 if ( did_action( 'plugins_loaded' ) && ! doing_action( 'plugins_loaded' ) && ! class_exists( 'ActionScheduler' ) ) {
54 action_scheduler_initialize_3_dot_2_dot_1();
55 do_action( 'action_scheduler_pre_theme_init' );
56 ActionScheduler_Versions::initialize_latest_version();
57 }
58 }
59