• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2785

Original Genesis & WooCommerce Tutorials & 6000+ Guaranteed Code

Snippets

  • Try Premium
  • Log in

Add Admin Notice That Displays Once Per User

This code can be used in a plugin or theme.

It enables you to display an admin notice that only displays once.

The code includes a link which once clicked, is recorded in the database for that specific user meaning it will never display again for the same user.

Here’s an example notice generated by this code:

admin-notice

Here’s the code:

Register for full access

Related Tutorials

  • How To Add A Help Text Widget For WP Admin Notices

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

Code written by Brad Dalton specialist for Genesis, WooCommerce & WordPress theme customization. Read More…

Advertise · WPEngine · Genesis · Log in

  • Access Problems
  • Account Details
  • Consulting
  • Tags
 

Loading Comments...
 

You must be logged in to post a comment.