PeepSo Documentation

Filter: oEmbed



Plugin PeepSo Foundation
Since 2.7.7
Status Active


This filter  can be used to enable or disable oEmbed in the PeepSoEmbed class (it’s enabled by default). When oEmbed is disabled, PeepSo will not attempt to embed links via the oEmbed endpoints and instead will immediately fall back to Open Graph based discovery.

You can use peepso_enable_oembed to completely disable oEmbed discovery, or use some rules. The most common use for this would be disabling oEmbed for certain domains –  the $url argument is provided in that case.


Get 10% off and a free eBook!

Subscribe to our newsletter to get a welcome discount:  10% off your first purchase* and receive a  free eBook:

"The Secrets Of Successful Online Communities"

* The discount code can only be used once, on a new purchase, not a renewal or upgrade. Promotions can't be combined.