Tribe__Events__Admin__Notice__Marketing::hook()
Register marketing notices.
Source
File: src/Tribe/Admin/Notice/Marketing.php
public function hook() {
tribe_notice(
'tribe-events-upcoming-survey',
array( $this, 'notice' ),
array(
'dismiss' => 1,
'type' => 'info',
'wrap' => 'p',
),
array( $this, 'should_display' )
);
tribe_notice(
'tribe-events-editor',
array( $this, 'notice_gutenberg' ),
array(
'dismiss' => 1,
'type' => 'warning',
'wrap' => 'p',
),
array( $this, 'should_display_gutenberg' )
);
}
Changelog
| Version | Description |
|---|---|
| 5.1.5 | - add Virtual Events Notice. |
| 4.6.17 | Introduced. |