PluginProbe
HurryTimer – An Scarcity and Urgency Countdown Timer for WordPress & WooCommerce / 1.2.0
HurryTimer – An Scarcity and Urgency Countdown Timer for WordPress & WooCommerce v1.2.0
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
hurrytimer / includes / utils / class-hurrytimer-constants.php

class-hurrytimer-constants.php in HurryTimer – An Scarcity and Urgency Countdown Timer for WordPress & WooCommerce 1.2.0, at includes/utils/class-hurrytimer-constants.php

81 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace Hurrytimer;
4
5 /**
6 * Common constants.
7 */
8 abstract class Common
9 {
10 const PREFIX = 'htmr';
11 }
12
13 /**
14 * Countdown timer modes.
15 */
16 abstract class CDT_Mode
17 {
18 const NORMAL = 1;
19 const EVERGREEN = 2;
20 }
21
22 /**
23 * Countdown timer's position on WC
24 * product page.
25 */
26 abstract class WC_Product_Page_Position
27 {
28 const ABOVE_TITLE = 2.3;
29 const BELOW_TITLE = 9.3;
30 const BELOW_REVIEW_RATING = 11.3;
31 const BELOW_PRICE = 17.3;
32 const BELOW_ATC_BUTTON = 39.3;
33 }
34
35 /**
36 * Countdown timer finish actions.
37 */
38 abstract class CDT_End_Action
39 {
40 const NO_ACTION = 1;
41 const HIDE_COUNTDOWN_TIMER = 2;
42 const REDIRECT = 3;
43 }
44
45 /**
46 * WC products types
47 */
48 abstract class WC_Product_Selection
49 {
50 const ALL_PRODUCTS = 1;
51 const SPECIFIC_PRODUCTS = 2;
52 const ALL_PRODUCTS_EXCEPT = 3;
53 const ALL_CATEGORIES = 4;
54 const SPECIFIC_CATEGORIES = 5;
55 const ALL_CATEGORIES_EXCEPT = 6;
56 }
57
58 /**
59 * @deprecated 1.1.0
60 * Headline status
61 */
62 abstract class Headline_Status
63 {
64 const SHOW_ABOVE_CDT = 1;
65 const SHOW_BELOW_CDT = 2;
66 const HIDE = 3;
67 }
68
69 abstract class Headline_Position
70 {
71 const ABOVE_TIMER = 1;
72 const BELOW_TIMER = 2;
73 }
74
75 abstract class Restart_Coundown
76 {
77 const NO_RESTART = 1;
78 const IMMEDIATELY = 2;
79 const AFTER_RELOAD = 3;
80 }
81