Usage
This function runs automatically, so it is not called manually. Is this incorrect?
Source File
Located in /libs/Functions.php on line 3214.
No Hooks
This function does not have any filters or actions available. Request one?
PHP
public function oembed_modifiers($html, $url, $attr, $post_id){
//Enable the JS API for Youtube videos
if ( strstr($html, 'youtube.com/embed/') ){
$html = str_replace('feature=oembed', 'feature=oembed&enablejsapi=1&rel=0', $html);
}
return $html;
}
Override
This function can not be short-circuited with an override filter. Request one?