wordpress snippets last updated   : January 29, 2015
we now have 646 snippets

Change the custom post type icon for admin menu

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will create a custom post type products. On line 10 of this snippet we have menu_icon change the URL to the location of your 16px by 16px icon to display in the admin menu.

read more