Date_Based::get_start_time()
Unix time for notice start.
Return
(int) $start_time The date & time the notice should start displaying, as a Unix timestamp.
Source
File: src/Tribe/Admin/Notice/Date_Based.php
public function get_start_time() { $date = Dates::build_date_object( $this->start_date, 'UTC' ); $date = $date->setTime( $this->start_time, 0 ); /** * Allow filtering of the start date DateTime object, * to allow for things like "the day before" ( $date->modify( '-1 day' ) ) and such. * * @since 4.14.2 * * @param \DateTime $date Date object for the notice start. */ $date = apply_filters( "tribe_{$this->slug}_notice_start_date", $date, $this ); return $date; }
Changelog
Version | Description |
---|---|
4.14.2 | Introduced. |