Home Forums WoodMart support forum disabling do_action calls in wp_insert_post during import.

disabling do_action calls in wp_insert_post during import.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #182125

    lover69
    Participant

    Hi,

    I am using WP ALL IMPORT to import our prices and stock levels daily.

    The task isnt finishing on time at the moment so to speed up the import we want to enable a feature in WP ALL IMPORT named “disabling do_action calls in wp_insert_post during import”

    It says this:
    “This option is for advanced users with knowledge of WordPress development. Your theme or plugins may require these calls when 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’. Verify your created posts work properly if you check this box.”

    This part is what i want to ask you:
    “Your theme or plugins may require these calls when posts are created.”

    Does woodmart require these calls when posts are created?

    #182140

    Artem Temos
    Keymaster

    Hello,

    Our theme uses edit_post and save_post for different purposes. But it shouldn’t affect your website during the import if you will disable them.

    Kind Regards

Viewing 2 posts - 1 through 2 (of 2 total)