cbc automatic import start on hook

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';
} );

Start importing in minutes

Bring your YouTube content into WordPress and let it update itself. Includes automatic updates and support.