How to make a WP admin button/menu similar to Jetpack Notifications?
The following is extracted from Jetpack and enables an identical menu item in the admin bar. Note that: the icon in the title is being pulled from Jetpack’s stylesheet the scripts are being printed directly instead of using wp_enqueue_style and wp_enqueue_script. Jetpack uses add_menu instead of add_node (the preferred method according to the Codex) Jetpack … Read more