Automator_Notifications::get_menu_count()

This generates the markup for the notifications indicator if needed.


Return Return

(string)


Source Source

File: src/core/admin/notifications/notifications.php

	public function get_menu_count() {

		if ( $this->get_count() > 0 ) {
			return '<span class="automator-menu-notification-indicator update-plugins">' . $this->get_count() . '</span>';
		}

		return '';

	}