Hi,
We use wpallimport extensively on our woocommerce/enfold site and to get it to work at an acceptable speed (not over 3 hours for a basic import!) we have to enable an option that says:
“Increase speed by disabling do_action calls in wp_insert_post during import.”
Next to this option it says:
“This option is for advanced users with knowledge of WordPress development. Your theme or plugins may require these calls then posts are created. Next action will be disabled: ‘transition_post_status’, ‘save_post’, ‘pre_post_update’, ‘add_attachment’, ‘edit_attachment’, ‘edit_post’, ‘post_updated’, ‘wp_insert_post’.”
And their site says:
“Every time WP All Import creates a new post it uses wp_insert_post. The problem with this function is that it wasn’t designed for creating a lot of posts at once – it was designed for creating one post at a time. It can be slow, and part of the reason for the slowness is the do_action calls.
Solution: you can enable the Increase speed by disabling do_action calls in wp_insert_post during import feature.
This will prevent other software in your WordPress site from interacting with posts as they are imported. Your posts may not work correctly if they are created without the associated do_action(s).”
My question is from an enfold side of this is this going to bypass any needed function calls you guys use?
Thanks,
isa
Hi isa_sss!
I’m not sure. We use a lot of the hooks it listed. It’s unclear if it’s going to cause any problems when you import though.
I would do a backup and try it out.
Cheers!
Elliott