Plugin actions
Every action hook Video Hub fires when it imports, updates or unpublishes videos — each with its parameters and a usage example.
cbc_automatic_import_completeFires after an automatic import has finished.
cbc_automatic_import_new_uploads_completeFires after the new videos of an automatic import were checked and imported by the second background process of the Import new videos right away option.
cbc_before_manual_bulk_importFires before a manual bulk video import runs.
cbc_before_post_insertAction triggered before a new video post is inserted into the database.
cbc_before_thumbnails_bulk_importFires before a bulk thumbnail import runs.
cbc_debug_messageFires a debug message.
cbc_post_insertAction that runs right after a new video post was successfully created.
cbc_settings_importedFires after the plugin settings were imported from an export file, with the Import button of the Settings page.
cbc_skipped_posts_categoryTriggers when trying to import an already existing video post.
cbc_unpublish_videoFires after a video post was unpublished because its video is no longer available on YouTube.
cbc_video_list_modal_print_scriptsFires in the <head> of the admin video-list modal, allowing extra scripts or styles to be printed there.
cbc_video_post_updatedFires after a video post was updated with the latest details from YouTube by the Update videos tool or the Update video data row and bulk actions.
cbc_video_status_checkThis action is conditioned by option “Check video status after import” from plugin Settings.
cbc_video_update_finishedFires when the update job of the Update videos tool finished.
cbc_yt_api_queryFires on every request made to the YouTube Data API.
Start importing in minutes
Bring your YouTube content into WordPress and let it update itself. Includes automatic updates and support.