WC_Helper_Updater::get_updates_count_html()

Return the updates count markup.


Description Description


Return Return

(string) Updates count markup, empty string if no updates avairable.


Top ↑

Source Source

File: includes/admin/helper/class-wc-helper-updater.php

	public static function get_updates_count_html() {
		$count = self::get_updates_count();
		if ( ! $count ) {
			return '';
		}

		$count_html = sprintf( '<span class="update-plugins count-%d"><span class="update-count">%d</span></span>', $count, number_format_i18n( $count ) );
		return $count_html;
	}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.