Initial Commit
This commit is contained in:
parent
4c352bf02e
commit
1ab6e5f0b0
1085 changed files with 195258 additions and 0 deletions
10
plugins/jetpack/modules/shortcodes/codepen.php
Normal file
10
plugins/jetpack/modules/shortcodes/codepen.php
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* CodePen embed
|
||||
*
|
||||
* example URL: http://codepen.io/css-tricks/pen/wFeaG
|
||||
*/
|
||||
|
||||
// Register oEmbed provider
|
||||
wp_oembed_add_provider( '#https?://codepen.io/([^/]+)/pen/([^/]+)/?#', 'https://codepen.io/api/oembed', true );
|
Reference in a new issue