Add upstream
This commit is contained in:
11
wp-content/plugins/jetpack/modules/shortcodes/codepen.php
Normal file
11
wp-content/plugins/jetpack/modules/shortcodes/codepen.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
/**
|
||||
* CodePen embed
|
||||
*
|
||||
* Example URL: http://codepen.io/css-tricks/pen/wFeaG
|
||||
*
|
||||
* @package Jetpack
|
||||
*/
|
||||
|
||||
// Register oEmbed provider.
|
||||
wp_oembed_add_provider( '#https?://codepen.io/([^/]+)/pen/([^/]+)/?#', 'https://codepen.io/api/oembed', true );
|
||||
Reference in New Issue
Block a user