Tribe__Events__Admin__Notice__Marketing::should_display_gutenberg()

Check if we should display the Gutenberg notice


Return

(bool)


Top ↑

Source

File: src/Tribe/Admin/Notice/Marketing.php

	public function should_display_gutenberg() {
		$today         = date_create()->format( 'Y-m-d' );
		$start         = '2018-10-23';
		$end           = '2018-10-30';

		return $today >= $start && $today <= $end;
	}

Top ↑

Changelog

Changelog
Version Description
4.6.25 Introduced.