Skip to content

Instantly share code, notes, and snippets.

@mitchmccline
Last active December 30, 2015 16:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mitchmccline/7853780 to your computer and use it in GitHub Desktop.
Save mitchmccline/7853780 to your computer and use it in GitHub Desktop.
WordPress CodePen Quick Link Embed - WP Embed Register Handler for CodePen embedded pens in posts from the pen url that is pasted into the wp editor. Using regex to pull the username and pen id slug hash from any CodePen pen link in order to register the embed handler in WordPress. http://codex.wordpress.org/Function_Reference/wp_embed_register_…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment