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

Create custom sub menu admin panel with add_theme_page

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will create a sub menu item within “Appearance” that will link to a custom admin panel.

read more

Remove sub-menu dashboard items

wordpress snippet

Adding this PHP code to your wordpress functions.php will allow you to remove menu items from the admin panel.

read more