Automattic\WooCommerce\Internal\Utilities

WebhookUtil::__construct()publicWC 1.0

Creates a new instance of the class.

Method of the class: WebhookUtil{}

No Hooks.

Return

null. Nothing (null).

Usage

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

WebhookUtil::__construct() code WC 9.5.1

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 );
}