Actions and Filters

Video Pro provides some “Actions and Filters” allowing developers to customize the theme (using child-theme or plugin)

For more details of using action and filter you can refer to these documents:

Search results page

  • do_action('videopro_before_search_results', $search_query);
  • apply_filters('videopro_default_search_form', $html, $search_query);

Single Post

  • do_action('videopro_video_toolbar', $post_id);

to print out video toolbar

  • do_action('videopro_author_video');

to print out author’s metadata

  • do_action('videopro_singlevideo_right_meta');

to print out additional metadata for post

  • do_action('videopro_actor_video');

to print out actors information

[v_cats] shortcode

  • apply_filter('videopro_v_cats_heading', $html, $alpha);
  • apply_filter('videopro_v_cats_before_listing, $html, $term);
  • apply_filter('videopro_v_cats_item', $html, $term, $tax);
  • apply_filter('videopro_v_cats_after_listing', $html, $term);
  • apply_filter('videopro_v_cats_characters', $characters);

Others

  • do_action('videopro_before_nav');
  • do_action('videopro_button_user_submit_video');
  • do_action('videopro_after_nav');
  • do_action('videopro_before_end_body');
  • do_action('video_series_custom_meta');
  • apply_filter('videopro_video_series_metas');
  • apply_filter('videopro_actors_listing_posts_per_page');