Skip to Content


Fixes WordPress oEmbeds by using Bootstrap classes.

PHP June 27, 2018


This function runs automatically, so it is not called manually. Is this incorrect?

Was this page helpful? Yes No

    A feedback message is required to submit this form.

    Please check that you have entered a valid email address.

    Enter your email address if you would like a response.

    Thank you for your feedback!

    Source File

    Located in /libs/Functions.php on line 3070.

    No Hooks

    This function does not have any filters or actions available. Request one?
            public function oembed_modifiers($html, $url, $attr, $post_id){
                //Enable the JS API for Youtube videos
                if ( strstr($html, '') ){
                    $html = str_replace('feature=oembed', 'feature=oembed&enablejsapi=1&rel=0', $html);
                return $html;


    This function can not be short-circuited with an override filter. Request one?