How to change WordPress dashboard icons

“Dashicons” is the official icon font of the WordPress admin as of 3.8.

Please find below link to check dashboard icons to use and change.

Goto Dashboard icons

Use below code to set icons for wordpress custom post types.

Use below code in functions.php

function wpdocs_create_post_type() {
register_post_type( ‘acme_product’,
‘labels’ => array(
‘name’ => __( ‘Products’, ‘textdomain’ ),
‘singular_name’ => __( ‘Product’, ‘textdomain’ )
‘public’ => true,
‘has_archive’ => true,
‘menu_icon’ => ‘dashicons-products’, // Here change Icon
add_action( ‘init’, ‘wpdocs_create_post_type’ );


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s