You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use a trait or a dedicated class (see this implementation) for pushing and retrieving the noticed.
Add a query parameter to the redirect url to indicate that it has been processed by the plugin. That way we only need to check for new noticed when that query parameter is set.
Note that there is also WordPress Admin notices but the above WooCommerce option is preferred.
The text was updated successfully, but these errors were encountered:
The current way we show admin noticed (used for bulk action) can be refactored to:
WC_Admin_Notices
API (note there is also a customer facing Woocommercewc_notice
version)Note that there is also WordPress Admin notices but the above WooCommerce option is preferred.
The text was updated successfully, but these errors were encountered: