This repository has been archived on 2026-09-11. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files

16 lines
312 B
PHP

<?php
/**
* CodePen embed
*
* Example URL: http://codepen.io/css-tricks/pen/wFeaG
*
* @package automattic/jetpack
*/
if ( ! defined( 'ABSPATH' ) ) {
exit( 0 );
}
// Register oEmbed provider.
wp_oembed_add_provider( '#https?://codepen.io/([^/]+)/pen/([^/]+)/?#', 'https://codepen.io/api/oembed', true );