Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace WPX\Filters;
- /**
- * Filter Video Shortcode
- */
- function responsive_videos($html, $url, $attr) {
- return '<div class="video">'.$html.'</div>';
- }
- add_filter('embed_oembed_html', '\WPX\Filters\responsive_videos', 10, 3);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement