PluginProbe
HurryTimer – An Scarcity and Urgency Countdown Timer for WordPress & WooCommerce / 2.2.16
HurryTimer – An Scarcity and Urgency Countdown Timer for WordPress & WooCommerce v2.2.16
2.15.0 trunk 1.0.0 1.0.1 1.1.0 1.1.1 1.1.2 1.1.3 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.1.2 2.1.3 2.1.5 2.1.6 2.1.7 2.1.8 2.10.0 All 62 releases
← All changes | includes/C.php +11 -0 2.0.02.2.16 View file →
@@ -1,5 +1,6 @@
1 1 <?php
2 +
2 3 namespace Hurrytimer;
3 4
4 5 /**
5 6 * This class is used to store all plugin's constants.
@@ -10,8 +11,9 @@
10 11 {
11 12 // Modes.
12 13 const MODE_REGULAR = 1;
13 14 const MODE_EVERGREEN = 2;
15 + const MODE_RECURRING = 3;
14 16
15 17 // WC single product positions.
16 18 const WC_POSITION_ABOVE_TITLE = 2.3;
17 19 const WC_POSITION_BELOW_TITLE = 9.3;
@@ -55,5 +57,14 @@
55 57 const WC_ON_BACKORDER = 'onbackorder';
56 58
57 59 const YES = "yes";
58 60 const NO = "no";
61 +
62 + const RECURRING_END_NEVER = 1;
63 + const RECURRING_END_OCCURRENCES = 2;
64 + const RECURRING_END_TIME = 3;
65 +
66 + const RECURRING_MINUTELY = 'minutely';
67 + const RECURRING_HOURLY = 'hourly';
68 + const RECURRING_DAILY = 'daily';
69 + const RECURRING_WEEKLY = 'weekly';
59 70 }