Tribe__Admin__Notice__Marketing::get_black_friday_end_time()
Unix time for Dec 1 @ 5am UTC. (5am UTC is 12am EST).
Return
(int)
Source
File: src/Tribe/Admin/Notice/Marketing.php
public function get_black_friday_end_time() { $date = Dates::build_date_object( 'December 1st', 'UTC' ); $date = $date->setTime( 5, 0 ); $end_time = $date->format( 'U' ); /** * Allow filtering of the Black Friday sale end date, mainly for testing purposes. * * @since 4.12.14 * * @param int $bf_end_date Unix time for Dec 1 @ 6am UTC. */ return apply_filters( 'tribe_black_friday_end_time', $end_time ); }
Changelog
Version | Description |
---|---|
4.12.14 | Introduced. |