Skip to content

Instantly share code, notes, and snippets.

@farookibrahim
Created July 3, 2020 05:30
Show Gist options
  • Select an option

  • Save farookibrahim/14e64aaeebab2f004a247ae605282c25 to your computer and use it in GitHub Desktop.

Select an option

Save farookibrahim/14e64aaeebab2f004a247ae605282c25 to your computer and use it in GitHub Desktop.
Vodi - Videos Control Bar Tags Filter
if ( ! function_exists( 'vodi_videos_control_bar_tag_filter' ) ) {
/**
* Display top control bar tag filter
*/
function vodi_videos_control_bar_tag_filter() {
$instance = apply_filters( 'vodi_videos_control_bar_tag_filter_instance', array(
'title' => '',
'limit' => 2,
'slugs' => '',
'query_type' => 'and',
) );
$args = apply_filters( 'vodi_videos_control_bar_tag_filter_args', array() );
the_widget( 'MasVideos_Videos_Tags_Filter_Widget', $instance, $args );
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment