Automattic\WooCommerce\Internal\Utilities
WebhookUtil::__construct
Creates a new instance of the class.
Метод класса: WebhookUtil{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$WebhookUtil = new WebhookUtil(); $WebhookUtil->__construct();
Код WebhookUtil::__construct() WebhookUtil:: construct WC 11.2.2
public function __construct() {
add_action( 'deleted_user', array( $this, 'reassign_webhooks_to_new_user_id' ), 10, 2 );
add_action( 'delete_user_form', array( $this, 'maybe_render_user_with_webhooks_warning' ), 10, 2 );
}