Update oembed endpoint

This commit is contained in:
Michael Thomas 2021-06-16 17:52:52 -04:00
parent 8798774fd0
commit 965f341c27
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@
if ( !class_exists('CognitoFormsOEmbed') ) { if ( !class_exists('CognitoFormsOEmbed') ) {
class CognitoFormsOEmbed { class CognitoFormsOEmbed {
public function __constructor() { public function __constructor() {
wp_oembed_add_provider( 'https://www.cognitoforms.com/*', 'https://www.cognitoforms.com/admin/oembed/' ); wp_oembed_add_provider( 'https://www.cognitoforms.com/*', 'https://www.cognitoforms.com/f/oembed/' );
} }
} }
new CognitoFormsOEmbed new CognitoFormsOEmbed