WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Notes

OrderMilestones::get_last_milestone() public WC 1.0

Get the store's last milestone.

{} It's a method of the class: OrderMilestones{}

No Hooks.

Return

Int. Last milestone reached.

Usage

$OrderMilestones = new OrderMilestones();
$OrderMilestones->get_last_milestone();

Code of OrderMilestones::get_last_milestone() WC 5.3.0

<?php
public function get_last_milestone() {
	return get_option( self::LAST_ORDER_MILESTONE_OPTION_KEY, 0 );
}