Рет қаралды 1,646
This code snippet enables the duplication of WordPress posts, pages, and all registered custom post types (CPTs). It adds a 'Duplicate' link to the row actions for each item in the admin dashboard. When clicked, this link triggers the duplication of the selected item, creating a new draft with the same content, custom fields, and taxonomies.
Big thanks to Superstar Mark Harris!
Code: codesnippets.c...
Code Snippets Duplicate Pages Posts CPTs - WordPress Code Snippet
Get our Awesome 'How to Build an Elementor Website Course' - Lifetime Updates and access to New Modules at no extra cost: learn.websquad...
Join our 'How to Start a Web Design Business' Course - and use strategies to grow, get clients, and generate recurring income: websquadron.co...
Book your 1-2-1 Consultation: websquadron.co...
We love to create - share - respond - and deliver.
🧐 Learn with our Mastery Modules: websquadron.co...
🔗 All of our Important Links: websquadron.co...
😃 Join our Facebook Group: / 3309523509284305
😃 Get Code Snippets Pro: r.freemius.com...
😃 Get Elementor Pro: be.elementor.c...
😃 Boost your KZfaq Analysis: www.tubebuddy....
👕 Get our Merchandise: websquadron.co...
🥹 Support us: paypal.me/Webs...
Hire us to work on your Website!
💌 info@websquadron.co.uk
👩💻 Visit websquadron.co.uk