Automattic\WooCommerce\Internal\StockNotifications\Frontend

NotificationManagementService::get_resend_verification_email_urlpublicWC 1.0

Get resend verification email URL.

Method of the class: NotificationManagementService{}

No Hooks.

Returns

String. The resend verification email URL.

Usage

$NotificationManagementService = new NotificationManagementService();
$NotificationManagementService->get_resend_verification_email_url( $notification ): string;
$notification(Notification) (required)
The notification.

NotificationManagementService::get_resend_verification_email_url() code WC 10.3.6

public function get_resend_verification_email_url( Notification $notification ): string {
	$url = add_query_arg(
		array(
			'wc_bis_resend_notification' => $notification->get_id(),
		),
		$notification->get_product_permalink()
	);

	return wp_nonce_url(
		$url,
		'wc_bis_resend_verification_email_nonce'
	);
}