all versions (free and premium) use the same WP function which defaults to publish. I like the idea but cannot promise a quick change in my code.
If you are tech savvy, look for the wp_insert_post function in my files and add a new parameter according to the WP codex/developer manual.
I came to the support forum to ask this exact question. Is there a php script I can embed to the functions.php that will change it to draft? If I make the change directly in the plugin file I am assuming it will be overwritten in the next plugin update?
Ideally since it is creating an empty page, it should almost always be created as draft. So maybe the default behavior can be changed from publish to draft?
-
This reply was modified 1 year, 3 months ago by
Passive Book.
-
This reply was modified 1 year, 3 months ago by
Passive Book.
I like your idea of a function filter in your own functions.php file very much.
no promises (as time is limited) but I will look into this.