Skip to content

Instantly share code, notes, and snippets.

@Luehrsen
Luehrsen / functions.php
Last active Aug 14, 2018
WordPress Responsive Embeds
View functions.php
/**
* Change the embed code, so we can apply awesome css classes
* Called by filter "oembed_result"
*
* @author Hendrik Luehrsen
* @since 1.0
*
* @param $html string The oembed html to edit
*
* @return string The edited html