Hi there!
I’m trying to add replit.com to WordPress whitelist so I can share and let users edit the code.
I tried to add a few lines that I found on another website (below) but it didn’t work.
function custom_oembed_provider() {
wp_oembed_add_provider( 'http://replit.com/*', 'http://replit.com/oembedprovider', true);
}
add_action( 'init', 'custom_oembed_provider' );
Can anyone help me?
-
This topic was modified 4 years, 8 months ago by
Steven Stern (sterndata).
-
This topic was modified 4 years, 8 months ago by
Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic