Skip to content

Commit

Permalink
feat: holiday limited time promotion (#999)
Browse files Browse the repository at this point in the history
  • Loading branch information
xaviranik committed Dec 17, 2020
1 parent e9192d3 commit 177b2dd
Showing 1 changed file with 6 additions and 22 deletions.
28 changes: 6 additions & 22 deletions includes/Admin/LimitedTimePromotion.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,28 +39,12 @@ public function show_promotions() {

$notices = [
[
'key' => 'early-bird-black-friday-2020',
'start_date' => '2020-11-23 09:00:00 EST',
'end_date' => '2020-11-23 13:59:00 EST',
'title' => 'Enjoy Flat 50% OFF on Dokan.',
'content' => 'Get Your Early Bird Black Friday Deals Now.',
'link' => 'https://wedevs.com/dokan/pricing?utm_medium=text&utm_source=wordpress-dokan',
],
[
'key' => 'black-friday-2020',
'start_date' => '2020-11-23 14:00:00 EST',
'end_date' => '2020-11-27 23:59:00 EST',
'title' => 'Enjoy Up To 60% OFF on Dokan.',
'content' => 'Get Your Black Friday Deals Now.',
'link' => 'https://wedevs.com/dokan/pricing?utm_medium=text&utm_source=wordpress-dokan',
],
[
'key' => 'cyber-monday-2020',
'start_date' => '2020-11-28 00:00:00 EST',
'end_date' => '2020-12-04 23:59:00 EST',
'title' => 'Enjoy Up To 60% OFF on Dokan.',
'content' => 'Get Your Cyber Monday Deals Now.',
'link' => 'https://wedevs.com/dokan/pricing?utm_medium=text&utm_source=wordpress-dokan',
'key' => 'holiday-2020',
'start_date' => '2020-12-22 09:00:00 EST',
'end_date' => '2021-01-08 23:59:00 EST',
'title' => 'Enjoy Up To 60% OFF on Dokan Pro.',
'content' => 'Get Your Holiday Deals Now.',
'link' => 'https://wedevs.com/dokan/pricing?utm_medium=text&utm_source=wordpress-dokan-holidays',
],
];

Expand Down

0 comments on commit 177b2dd

Please sign in to comment.