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

  • 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 '19 at 14:38

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

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.