Add upstream
This commit is contained in:
12
wp-content/plugins/jetpack/modules/shortcodes/flatio.php
Normal file
12
wp-content/plugins/jetpack/modules/shortcodes/flatio.php
Normal file
@@ -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 );
|
||||
Reference in New Issue
Block a user