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?
Leave a Reply
You must be logged in to post a comment.
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?
You must be logged in to post a comment.
you could test for the absence of an error and then display a success message