wp_nonce_field 字段使用与 google reCaptcha 相同的保护吗?

is wp_nonce_field field use the same protection as google reCaptcha?

我正在 wordpress 上创建注册表单,我在我的表单中使用 wp_nonce_field,我想知道我是否应该包含 google reCaptcha。

<form>
<?php
if ( function_exists('wp_nonce_field') ) 
    wp_nonce_field('plugin-name-action_' . $wpn_object); 
?>
</form>

根据 WP 法典:

The nonce field is used to validate that the contents of the form request came from the current site and not somewhere else.

随机数基本上是为您网站的每位访问者生成的唯一字符串。您将使用它来确保在您的网站上提交表单。

reCaptcha 用于确保机器人无法向您发送垃圾邮件。它使用 javascript,您必须使用 google 的 reCaptcha 库:https://www.google.com/recaptcha/intro/v3.html