Skip Navigation

[Resolved] Just a quick question about can_export option in post_type

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 3 replies, has 2 voices.

Last updated by Waqar 1 year, 7 months ago.

Assisted by: Waqar.

Author
Posts
#2659437

Hi, I have post types, and for some reason, they don't have the can_export enabled. My question is short and simple: If I enable it and save the post_type, is there any way that it can brick data?

I need to export lots of data in several post types, they all have this ticker unchecked for some reason. I don't know what this option does in DB, so asking before I brick all my data 🙂

Thanks, - Larry

#2659895

Hi Larry,

Thank you for contacting us and I'd be happy to assist.

I can confirm that changing the 'can_export' option in a post type's settings, is a very safe process and shouldn't affect the relevant data stored in the database.

Note: As an extra precautionary measure, you can choose to make a backup of the website before making changes like these. But is not mandatory.

regards,
Waqar

#2659899

Hi Waqar, thanks for the reply. I actually already made a backup and tested this on a smallest post type. It worked great, and I got the data transferred to another / new site with WP import/export tool.

Follow up question: I have one or two post types where I also have Relationships. Now, I doubt that with WP export / import tool these would follow to the new site, or would they?. Is there a tool you know could actually import/export post types with Relationships?

I have done post types and relationships on the new site already, but still need to transfer the data.

Thanks, - Larry

New threads created by Waqar and linked to this one are listed below:

https://toolset.com/forums/topic/split-exporting-posts-with-the-relationship-data/

#2659937

Thanks for the update and glad that the data transfer worked.

I've created a separate ticket for your question about the relationship data import/export and will follow-up on that shortly.
( ref: https://toolset.com/forums/topic/split-exporting-posts-with-the-relationship-data/ )

You're welcome to mark this ticket as resolved and start a new one, for each new question or concern.

#2659955

Thanks Waqar, will continue there. - Larry