I’m creating my first plugin and it requires some pages with content to functionally work properly.
I was wondering if it is possible to show a message like “Click here to automatically add the required pages for this plugin” in the wordpress plugins area.
So when the user activates the plugin this message will show and if the user clicks the button a function will run that will add the pages necessary.
Any help in direction most appreciated.
Matt
You can add those without a button:
This function will run when the user installs the plugin. For super smart control you should check if that option already exists and if the id is not 0 (that means failure)