X

Replace Easy Digital Downloads Menu Icon

If you want to replace the standard menu icon in Easy Digital Downloads with an icon from Dashicons, just add the following snippet to the functions.php file of your WordPress theme. Don't forget to check out the Dashicon options available.


remove_action( 'admin_head', 'edd_admin_downloads_icon' );

function sumobi_edd_replace_menu_icon( $download_args ) {
   $download_args['menu_icon'] = 'dashicons-cart';
   return $download_args;
}
add_filter( 'edd_download_post_type_args', 'sumobi_edd_replace_menu_icon' );

Comments  Leave a Reply

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

WordPress Launch Checklist

The Ultimate WordPress Launch Checklist

We've compiled all the essential checklist items for your next WordPress website launch into one handy ebook.
Yes, Send Me the Free eBook!