Add notification bubble notice in navigation using transients
Thanks again for the help @jdm2112. Updated a few syntax errors and used the same structure you suggested, works great! // Add notification bubble to custom post type menu nav add_action( ‘admin_menu’, ‘add_cpt_menu_bubble’ ); function add_cpt_menu_bubble() { global $menu; $count_posts = tms_count_pending_posts(); if ( $count_posts > 3 ) { foreach ( $menu as $key => … Read more