Wordpress-如何在注释形式的“提交”按钮后插入代码

问题描述 投票:0回答:1

我需要在注释表单中的“提交”按钮后插入此代码(需要在子主题中插入)我的网站:https://www.mundoemalerta.com/seguro-de-vida-iad-e-itp-no-credito-habitacao-descubra-as-diferencas

要在下面插入的代码

此网站受reCAPTCHA和Google保护Privacy PolicyTerms of Service适用。

wordpress themes recaptcha
1个回答
0
投票

尝试一下。

add_action('comment_form_after' function(){
    echo 'This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.';
});
© www.soinside.com 2019 - 2024. All rights reserved.