WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

Automattic\WooCommerce\Admin\Notes

WC_Admin_Notes_Order_Milestones::__construct() public WC 1.0

Delay hook attachment until after the WC post types have been registered.

This is required for retrieving the order count.

{} Это метод класса: WC_Admin_Notes_Order_Milestones{}

Хуки из метода
Возвращает

Null. Ничего.

Использование

$WC_Admin_Notes_Order_Milestones = new WC_Admin_Notes_Order_Milestones();
$WC_Admin_Notes_Order_Milestones->__construct();

Код WC_Admin_Notes_Order_Milestones::__construct() WC 4.7.0

<?php
public function __construct() {
	/**
	 * Filter Order statuses that will count towards milestones.
	 *
	 * @since 3.5.0
	 *
	 * @param array $allowed_statuses Order statuses that will count towards milestones.
	 */
	$this->allowed_statuses = apply_filters( 'woocommerce_admin_order_milestone_statuses', $this->allowed_statuses );

	add_action( 'woocommerce_after_register_post_type', array( $this, 'init' ) );
	register_deactivation_hook( WC_ADMIN_PLUGIN_FILE, array( $this, 'clear_scheduled_event' ) );
}