Update oembed endpoint
This commit is contained in:
parent
8798774fd0
commit
965f341c27
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue