From 965f341c273ea87b306a72dafb101bae89d486d7 Mon Sep 17 00:00:00 2001 From: Michael Thomas Date: Wed, 16 Jun 2021 17:52:52 -0400 Subject: [PATCH] Update oembed endpoint --- cognito-forms-oembed.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cognito-forms-oembed.php b/cognito-forms-oembed.php index 48c2937..5584e14 100644 --- a/cognito-forms-oembed.php +++ b/cognito-forms-oembed.php @@ -41,7 +41,7 @@ if ( !class_exists('CognitoFormsOEmbed') ) { class CognitoFormsOEmbed { 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