Automattic\WooCommerce\Internal\Utilities

WebhookUtil::__construct()publicWC 1.0

Creates a new instance of the class.

Метод класса: WebhookUtil{}

Хуков нет.

Возвращает

null. Ничего (null).

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

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

Код WebhookUtil::__construct() WC 9.3.3

public function __construct() {
	self::add_action( 'deleted_user', array( $this, 'reassign_webhooks_to_new_user_id' ), 10, 2 );
	self::add_action( 'delete_user_form', array( $this, 'maybe_render_user_with_webhooks_warning' ), 10, 2 );
}