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