Last updated 6 years ago
WordPress 3.8 has , an icon font you can use with your custom post types.
To set the post type icon pass the dashicon icon slug to the icon() method.
icon()
$books->icon( 'dashicons-book-alt' );
A list of available icons can be found on the