WordPress at a glance
function is not described


OrderMilestones::are_milestones_enabled() public WC 1.0

Convenience method to see if the milestone notes are enabled.

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


true|false. True if milestone notifications are enabled.


$OrderMilestones = new OrderMilestones();

Code of OrderMilestones::are_milestones_enabled() WC 5.3.0

public function are_milestones_enabled() {
	 * Filter to allow for disabling order milestones.
	 * @since 3.7.0
	 * @param boolean default true
	$milestone_notes_enabled = apply_filters( 'woocommerce_admin_order_milestones_enabled', true );

	return $milestone_notes_enabled;