Phase 5: Content and SEO - Yoast SEO, Schema.org markup, Open Graph, favicon support, XML sitemap
This commit is contained in:
+19
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace Yoast\WP\SEO\Promotions\Domain;
|
||||
|
||||
/**
|
||||
* Class to manage the Black Friday promotion.
|
||||
*/
|
||||
class Black_Friday_Promotion extends Abstract_Promotion implements Promotion_Interface {
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct() {
|
||||
parent::__construct(
|
||||
'black-friday-promotion',
|
||||
new Time_Interval( \gmmktime( 10, 00, 00, 11, 27, 2025 ), \gmmktime( 10, 00, 00, 12, 2, 2025 ) )
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user