Can’t get admin notices to display
-
I have made a helper function that takes two arguments. A message, and type of notice. This helper function displays the message either as a WooCommerce Notice if applicable, or in the case of the action happening on an admin page, a normal admin notice.
My problem is that when notices fire inside wp_pre_insert_user_data, I can’t get them to show in the admin. I have even tried passing the message by adding query args to the URL, but those do not appear.
How can I get admin notices to show when they need to be added inside wp_pre_insert_user_data?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Can’t get admin notices to display’ is closed to new replies.