WP_Error handles errors, but how can I show success with a message?

My script accesses an api to populate posts. I can add any errors to the WP_Error class, but can I add success messages to a global variable?

Related posts

Leave a Reply

1 comment