1
vote
1answer
65 views

How do I add an admin notice within javascript in the admin interface for posts?

I want to use javascript to add a notice to the top of the wordpress page just like they do when auto-saving the page. But in looking at the DOM, I don't see any special div that I could find to add ...
0
votes
1answer
65 views

Show error message after exception handled

I have a plugin that updates a user profile, and I want to handle a date exception and show a error message when it fails, but I can't make it work. Here is part of the class: private function ...
0
votes
1answer
46 views

Is it possible to set a option, and then redirect to another page directly from a admin notice link?

I like to execute a update_options() and stuff and then redirect to another plugins page? Directly after the user clicks a link in a Admin notice. How would i do that? Ajax? Is that even possible?