Skip to content

Instantly share code, notes, and snippets.

@delputnam
Created May 17, 2013 18:55
Show Gist options
  • Save delputnam/5601170 to your computer and use it in GitHub Desktop.
Save delputnam/5601170 to your computer and use it in GitHub Desktop.
To set a WordPress custom post type menu icon in a plugin include this in the args array when registering a custom post type.
'menu_icon' => plugins_url('images/custom-post-type-icon.png', __FILE__)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment