Automattic\WooCommerce\Internal\StockNotifications\Frontend
NotificationManagementService::get_resend_verification_email_url
Get resend verification email URL.
Метод класса: NotificationManagementService{}
Хуков нет.
Возвращает
string. The resend verification email URL.
Использование
$NotificationManagementService = new NotificationManagementService(); $NotificationManagementService->get_resend_verification_email_url( $notification ): string;
- $notification(Notification) (обязательный)
- The notification.
Код NotificationManagementService::get_resend_verification_email_url() NotificationManagementService::get resend verification email url WC 11.2.2
public function get_resend_verification_email_url( Notification $notification ): string {
$url = add_query_arg(
array(
self::RESEND_QUERY_ARG => $notification->get_id(),
),
$notification->get_product_permalink()
);
return wp_nonce_url( $url, self::RESEND_NONCE_ACTION . '_' . $notification->get_id() );
}