wordpress-importer icon indicating copy to clipboard operation
wordpress-importer copied to clipboard

Add new hooks to allow additional processing

Open jfarthing84 opened this issue 7 years ago • 5 comments

Adds two new hooks, before_process_import and after_process_import, to make it more intuitive to add additional processing to the import process.

jfarthing84 avatar Dec 21 '17 23:12 jfarthing84

@jfarthing84 It might be helpful to add docblocks for each of the new hooks ?

jrfnl avatar Dec 23 '17 00:12 jrfnl

Should some kind of context/extra information be provided to these hooks to make them more useful?

dd32 avatar Feb 12 '18 02:02 dd32

No, not really.

jfarthing84 avatar Feb 12 '18 17:02 jfarthing84

Not even $this?

dd32 avatar Feb 16 '18 02:02 dd32

The other actions called in this plugin have no arguments, why should these? It wouldn't hurt, of course.

jfarthing84 avatar Feb 16 '18 17:02 jfarthing84