sven
1/5/2014 - 3:05 PM

Add WordPress admin menu pages with another Dashicon. (Note: This will require at least WordPress 3.8)

Add WordPress admin menu pages with another Dashicon. (Note: This will require at least WordPress 3.8)

<?php 

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 );
}

?>