Documentation

Plugin actions

WordPress video importer plugin YouTube Hub plugin actions.

  • cbc automatic import complete

    Description Fires after an automatic import has finished. Parameters This hook does not pass any parameters. Example add_action( 'cbc_automatic_import_complete', function() { // e.g. purge…

  • cbc before manual bulk import

    Description Fires before a manual bulk video import runs. Useful to remove third-party actions and filters during the import. Parameters This hook does not…

  • cbc before post insert

    Description Action triggered before a new video post is inserted into the database. Parameters $video (array)(optional) Video details array Default:None $theme_import (array)(optional) If WP…

  • cbc before thumbnails bulk import

    Description Fires before a bulk thumbnail import runs. Useful to remove actions and filters added by third-party plugins that would slow down or interfere…

  • cbc debug message

    Description Fires a debug message. The plugin only triggers the action; hook into it to log or process the debug output (the plugin ships…

  • cbc post insert

    Description Action that runs right after a new video post was successfully created. Parameters $post_id (integer)(optional) The post id of the newly created post…

  • cbc skipped posts category

    Description Triggers when trying to import an already existing video post. In this case, the plugin will skip importing the video in order to…

  • cbc unpublish video

    Description This action is conditioned by option “Check video status after import” from plugin Settings. If the option is on and after checking the…

  • cbc video list modal print scripts

    Description Fires in the <head> of the admin video-list modal, allowing extra scripts or styles to be printed there. Parameters This hook does not…

  • cbc video status check

    Description This action is conditioned by option “Check video status after import” from plugin Settings. If the option is on and after checking the…

  • cbc yt api query

    Description Fires on every request made to the YouTube Data API. Useful for logging or tracking API quota usage. Parameters $url (string)(optional) The YouTube…

Start importing in minutes

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