0

Is there any script so I can show the option to export all of my plugin's tables in this default wordpress tool?

enter image description here

New contributor
Karra is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
  • I see you tagged your Q as wp.com, is this a wp.com site? If so you'll need to contact wp.com support, wp.com is a 3rd party commercial host – Tom J Nowell May 15 at 14:38
0

The Core export function only outputs data from the prefix_posts and prefix_postmeta tables, so it would take a lot of doing to extend it to export other tables entirely, especially since it converts everything to XML.

Instead of trying to modify this core function, it would be much simpler if your plugin's data could be saved in those tables by using custom post types instead of custom tables. As you can see in your screen shot the custom post type "Movies" automatically appears here. This would be more futureproof than extending core functionality.

Your Answer

Karra is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.