Hooks and Filters

Main header logo filter hook
@param string – html string of logo to be displayed
vb_mainheaderlogo_filter()

Main filter for all banners
@param string – html string of banner to be displayed
@param string – current banner place
vb_banner_filter()

Image Thumbnail function filter when post thumbnail exists for video
@param string – html string of image to be displayed
@param string – (optional) post ID
vb_show_featuredimage_filter()

Image Thumbnail function filter for fallback image, used in case when there is no image or
when there is only direct link to image posted in vb_thumb custom field
@param string – html string of image thumbnail to be displayed
@param string (optional) – post ID
vb_show_fallback_image_filter()

Embedded video code filter
@param string – embedded code string
vb_show_video_embeddedcode_filter()

Related videos function filter
@param array – related videos IDs
@param int – video ID
@param int – number of videos to show
vb_relatedvideos_filter()

Header top action hook
vb_header_top()

Header bottom action hook
vb_header_bottom()

Footer top action hook
vb_footer_top()

Footer bottom action hook
vb_footer_bottom()

Account page top
vb_account_page_top()

Account page bottom
vb_account_page_bottom()

Add video page top
vb_addvideo_page_top()

Add video page bottom
vb_addvideo_page_bottom()

Add video page fields top
vb_addvideo_fields_top()

Add video page fields bottom
vb_addvideo_fields_bottom()

Registration page fields top
vb_registerpage_fields_top()

Registration page fields bottom
vb_registerpage_fields_bottom()

Copyright © 2024 | VideoBoard WordPress Theme