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.