How to Prevent oEmbed from one specific domain
-
We have a custom block that lets people embed content from https://somedomain.com.
The problem is that somedomain.com supports oEmbed (poorly, and we’d rather use our own block). Currently, if someone pastes a URL from somedomain.com into the block editor, it is automatically parsed into an Embed block. We’d like to stop that from happening, and encourage them to use our custom block instead.
How can I tell WordPress to NOT use the available oEmbed for somedomain.com?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How to Prevent oEmbed from one specific domain’ is closed to new replies.