Meta Box
Support Forum
Support › MB Frontend Submission › use previous post as a template
Process : open the template post, Modify data, submit. create new post and submit Modified data without change template data.
Maybe I can use hook "rwmb_frontend_after_process". How to create new post and copy data to new post?
Hi Jim,
Do you mean to use the data of the previous post as the default data of the new post? It's not possible to do with the plugin MB Frontend Submission.
Does metabox or wordpress have a function to create a new post in the hook?
You can use the WordPress function wp_insert_post() to create posts https://developer.wordpress.org/reference/functions/wp_insert_post/
wp_insert_post()