[wp-hackers] Mass-Import Process to run in background

Alex Hempton-Smith hempsworth at gmail.com
Wed Apr 23 16:32:07 UTC 2014


Hi all,

I have large amounts of CSV data (around about 7k rows) to import, each row
being a new post (CPT) and various meta fields.

I can open and print out the contents of the file to the browser fine, but
I just know running that import will time-out.

Within a WordPress plugin, how do a run a large process like that? And even
better, provide some kind of 'percentage complete' feedback to the user?

Thanks,
Alex


More information about the wp-hackers mailing list