Skip to content

Commit

Permalink
Shortcodes: Enable FB and IG embed whenever connected (#17301)
Browse files Browse the repository at this point in the history
  • Loading branch information
ockham authored Sep 30, 2020
1 parent 6033f88 commit c43865a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions modules/module-extras.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@
'custom-post-types/nova.php',
'geo-location.php',
// Those oEmbed providers are always available.
'shortcodes/facebook.php',
'shortcodes/others.php',
// Theme Tools.
'theme-tools.php',
'theme-tools/social-links.php',
'theme-tools/random-redirect.php',
Expand Down Expand Up @@ -49,6 +51,10 @@
'simple-payments/simple-payments.php',
'wpcom-block-editor/class-jetpack-wpcom-block-editor.php',
'wpcom-tos/wpcom-tos.php',
// These oEmbed providers are available when connected to WordPress.com.
// Starting from 2020-10-24, they need an authentication token, and that token is stored on WordPress.com.
// More information: https://developers.facebook.com/docs/instagram/oembed/.
'shortcodes/instagram.php',
);

// Add connected features to our existing list if the site is currently connected.
Expand Down

0 comments on commit c43865a

Please sign in to comment.