diff options
Diffstat (limited to 'plugins/jetpack/modules/shortcodes/flatio.php')
-rw-r--r-- | plugins/jetpack/modules/shortcodes/flatio.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/plugins/jetpack/modules/shortcodes/flatio.php b/plugins/jetpack/modules/shortcodes/flatio.php new file mode 100644 index 00000000..3b5c31f8 --- /dev/null +++ b/plugins/jetpack/modules/shortcodes/flatio.php @@ -0,0 +1,12 @@ +<?php +/** + * Flat.io embed + * + * Example URL: https://flat.io/score/5a5268ed41396318cbd7772c-string-quartet-for-rainy-days + * + * @package Jetpack + */ + +// Register oEmbed provider. +wp_oembed_add_provider( 'https://flat.io/score/*', 'https://flat.io/services/oembed', false ); +wp_oembed_add_provider( 'https://*.flat.io/score/*', 'https://flat.io/services/oembed', false ); |