Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include oEmbed endpoints introduced by plugins to the wp embed provider list #64

Open
1 task done
garretthyder opened this issue Jun 11, 2021 · 1 comment
Open
1 task done

Comments

@garretthyder
Copy link

Feature Request

Describe your use case and the problem you are facing

Hello,
I noticed the wp embed provider list only contains default WP providers. It would be great if it listed providers added to WP via plugins through wp_oembed_add_provider on the init hook. I tested a few plugins beyond my own and none when added seem to list their providers. Some I tested;
https://en-ca.wordpress.org/plugins/sendtonews-oembed/
https://en-ca.wordpress.org/plugins/jotform-oembed/
https://en-ca.wordpress.org/plugins/github-embed/

In addition to that the wp embed fetch <url> won't work for any oembed URLs of these custom providers.

Describe the solution you'd like

I would love the wp embed functions to cover custom oembed providers installed via plugins to the users WordPress install.

Thank you

@danielbachhuber
Copy link
Member

Sounds good 👍 Feel free to submit a pull request, if you'd like. Here is some guidance on our pull request best practices.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants