Description
Filter the WordPress hook on which the automatic import is started. Used internally to move the importer to a different hook (for example init) instead of the default shutdown.
Parameters
- $hook
- (string)(required) The action hook name the importer runs on.
- Default:‘shutdown’
Example
add_filter( 'cbc_automatic_import_start_on_hook', function() {
return 'init';
} );