Frontend_Scripts::enqueue_scripts()
Enqueue scripts if needed.
Return
(void)
Source
File: includes/libs/templates/frontend-scripts.class.php
public function enqueue_scripts(){ if( \Vimeotheque\Helper::is_video() ){ if( current_theme_supports( 'vimeotheque-next-video-card' ) ){ wp_enqueue_script( 'vimeotheque-end-video-card', \Vimeotheque\Helper::get_url() . 'assets/front-end/js/load-next-video.js', ['jquery','cvm-video-player'], \Vimeotheque\Helper::get_plugin_version(), true ); } } }