Skip to content

Instantly share code, notes, and snippets.

@wpscholar
Created July 24, 2012 15:57
Show Gist options
  • Save wpscholar/3170845 to your computer and use it in GitHub Desktop.
Save wpscholar/3170845 to your computer and use it in GitHub Desktop.
Function to set the featured image for a given post in WordPress
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment