PluginProbe
HurryTimer – An Scarcity and Urgency Countdown Timer for WordPress & WooCommerce / 2.1.5
HurryTimer – An Scarcity and Urgency Countdown Timer for WordPress & WooCommerce v2.1.5
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 / CampaignBuilderLegacy.php

CampaignBuilderLegacy.php in HurryTimer – An Scarcity and Urgency Countdown Timer for WordPress & WooCommerce 2.1.5, at includes/CampaignBuilderLegacy.php

43 lines 783 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * This trait provide legacy classes for campaign.
4 */
5 namespace Hurrytimer;
6
7 trait CampaignBuilderLegacy
8 {
9 private function legacyLabelClass()
10 {
11 return 'hurrytimer-cdt__label';
12 }
13
14 private function legacyDigitClass()
15 {
16 return 'hurrytimer-cdt__time';
17 }
18
19 private function legacyBlockClass()
20 {
21 return 'hurrytimer-cdt__dur';
22 }
23
24 private function legacyHeadlineClass()
25 {
26 return 'hurrytimer-cdt__headline';
27 }
28
29 private function legacyTimerClass()
30 {
31 return 'hurrytimer-cdt__inner';
32 }
33
34 private function legacySeparatorClass()
35 {
36 return 'hurrytimer-cdt__sep';
37 }
38
39 function legacyCampaignClass($id){
40 return "hurrytimer-cdt hurrytimer-cdt--{$id}";
41 }
42 }
43