Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Add WordPress admin menu pages with another Dashicon. (Note: This will require at least WordPress 3.8)
add_action( 'admin_menu', 'register_my_custom_menu_page' );
function register_my_custom_menu_page() {
// add_menu_page( $page_title, $menu_title, $capability, $menu_slug, $function, $icon_url, $position );
add_menu_page( 'Custom Menu Page Title', 'Custom Menu Page', 'manage_options', 'custom.php', '', 'dashicons-awards', 90 );
Copy link

okiewardoyo commented Mar 19, 2016

HI, nice explanation, but this page -> is not found,

Copy link

brichards commented Apr 4, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment