get_id() ) && $this->_should_display(); } /** * Duration (in seconds) that the notice is dismissed for. * `0` means it's dismissed permanently. * * @return int */ public static function dismiss_duration() { return 0; } /** * Individual notices can override this method to control display logic. * * @since 2.10.6 * * @return bool */ protected function _should_display() { return true; } /** * Displays the notice. * Individual notices typically should not override this method, as it contains * all the notice wrapper logic. Instead, notices should override `_display()` * * @since 2.10.6 * @return void */ public function display() { ?>
_display(); ?>