• I’m looking to write my own variation on the code that converts a Soundcloud URL to an embedded player. First of all, I’d like to unregister the existing oembed handler for Soundcloud. I’ve looked at the documentation for wp_oembed_remove_provider() and wp_embed_unregister_handler() but no amount of adding filters or actions seem to affect anything. WP stubbornly converts the soundcloud url to an iframe player.

    The only workaround is to use the ‘the_content’ filter and intercept the post before oembed gets to do its thing. This is OK but I’m curious as to why I can’t deal with oembed more directly?

The topic ‘Cannot unregister Soundcloud oEmbed’ is closed to new replies.