I am about to push out a new update for my plugin. I’ve used a few functions only available to WordPress 3.8, which is fine because I want to support the latest version.
How do I display a message to the user before they update the plugin with a list of What’s New, or just a general warning that WordPress 3.8 is required to run the latest version of the plugin?
I have attached a screenshot of where I’d like the message to display. Is this something that is displayed based on what you put in the change log of your readme.txt
in trunk?
You can hook into
in_plugin_update_message-{$file}
.For the above plugin, the according code looks as follows:
Ad: Here is how I did this for a plugin I’m involved in.