Is there a way to hook the import?

Closed

Import WP Updated 1 year ago 4 Replies

Luis asked 1 year ago on July 4, 2023 at 6:45 pm

I want to execute a function after the import is completed. I tried to use WP own save and publish hooks, with no success.

J

James replied Support Agent

1 year ago on July 4, 2023 at 8:14 pm

Hi Luis,

Do you want to hook after a record has been imported, or after the import is complete?

James

LL

Luis replied

1 year ago on July 4, 2023 at 8:20 pm

After the whole import is completed.

J

James replied Support Agent

1 year ago on July 4, 2023 at 8:37 pm

The following code snippet can be used to run code when an importer has completed

https://www.importwp.com/docs/run-code-after-import-completes/

LL

Luis replied

1 year ago on July 5, 2023 at 12:50 pm

Thank you, James!