Changes between Version 1 and Version 2 of Ticket #48333, comment 7
- Timestamp:
- 11/21/2019 07:21:17 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #48333, comment 7
v1 v2 6 6 7 7 Another possible solution would be to set a transient when that message is needed, and remove it when the message is displayed. However that writes to the DB, twice. Still probably a better approach as these DB writes will only happen for logged-in users only when they click "remind me later". 8 9 Also, may be better to output that message from a function that is added on a hook in the admin? Perhaps `admin_init` or similar.