You’re welcome.
add_filter('embed_oembed_html',static function($html){
if(strpos($html,'script') !== false) {
$html = preg_replace('#<script(.*?)>(.*?)</script>#is', '', $html);
}
return $html;
},10);
Hi, I'm Dominik Schwind, friend of the internet. Here is /now.
Say hello to me on Twitter or maybe even subscribe to my weekly newsletter.
You’re welcome.
You’re welcome.
add_filter('embed_oembed_html',static function($html){
if(strpos($html,'script') !== false) {
$html = preg_replace('#<script(.*?)>(.*?)</script>#is', '', $html);
}
return $html;
},10);