WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Notes

OrderMilestones::get_note_content_for_milestone() public WC 1.0

Get the appropriate note content for a given milestone.

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

No Hooks.

Return

String. Note content for the milestone.

Usage

$OrderMilestones = new OrderMilestones();
$OrderMilestones->get_note_content_for_milestone( $milestone );
$milestone(int) (required)
Order milestone.

Code of OrderMilestones::get_note_content_for_milestone() WC 5.3.0

<?php
public function get_note_content_for_milestone( $milestone ) {
	switch ( $milestone ) {
		case 1:
			return __( 'Congratulations on getting your first order! Now is a great time to learn how to manage your orders.', 'woocommerce' );
		case 10:
			return __( "You've hit the 10 orders milestone! Look at you go. Browse some WooCommerce success stories for inspiration.", 'woocommerce' );
		case 100:
		case 250:
		case 500:
		case 1000:
		case 5000:
		case 10000:
		case 500000:
		case 1000000:
			return __( 'Another order milestone! Take a look at your Orders Report to review your orders to date.', 'woocommerce' );
		default:
			return '';
	}
}