'
+1-800-870-4611 outreach@mkp.org

MKP Base Create Notification Messages

Notification messages appear in the lower right corner of the user’s screen as popup messages. This is a useful way of informing the user of problems with an action or confirming that actions have taken place. Here are some examples of how to create notification messages and show pending notifications and clear them:

mkp_base echo message=’this is test message #1′ type=4 notify]
mkp_base echo message=’this is test message #2′ type=5 notify echo
mkp_base message=’this is test message #3′ type=6 notify echo
mkp_base show_notifications

this is test message #1
Errors found in shortcode - cannot proceed.
Errors found in shortcode - cannot proceed.
2020-10-24 09:39:50: [confirmation] NOT STICKY = this is test message #1
2020-10-24 09:39:50: [warning] STICKY = 1 errors detected:
2020-10-24 09:39:50: [error] STICKY = These modifiers have no associated action: echo
2020-10-24 09:39:50: [warning] STICKY = 1 errors detected:
2020-10-24 09:39:50: [error] STICKY = These modifiers have no associated action: echo