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 8.9.0

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