Skip to content

Instantly share code, notes, and snippets.

@Luehrsen
Luehrsen / functions.php
Last active August 14, 2018 15:09
WordPress Responsive Embeds
/**
* 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