WordPress at Your Fingertips
filter is not described

woocommerce_admin_order_milestones_enabled filter-hook . WC 3.7.0

Filter to allow for disabling order milestones.

Usage

add_filter( 'woocommerce_admin_order_milestones_enabled', 'filter_function_name_7808' );
function filter_function_name_7808( $true ){
	// filter...

	return $true;
}
$true(true|false)
default true

Changelog

Since 3.7.0 Introduced.

Where the hook is called

OrderMilestones::are_milestones_enabled()
woocommerce_admin_order_milestones_enabled
woocommerce/packages/woocommerce-admin/src/Notes/OrderMilestones.php 283
$milestone_notes_enabled = apply_filters( 'woocommerce_admin_order_milestones_enabled', true );

Where in WP core the hook is used WooCommerce

Usage not found.