wpcf7_admin_warnings_recaptcha_v2_v3() CF7 1.0
Хуков нет.
Возвращает
Null. Ничего.
Использование
wpcf7_admin_warnings_recaptcha_v2_v3( $page, $action, $object );
Код wpcf7_admin_warnings_recaptcha_v2_v3() wpcf7 admin warnings recaptcha v2 v3 CF7 5.3.2
function wpcf7_admin_warnings_recaptcha_v2_v3( $page, $action, $object ) {
if ( 'wpcf7-integration' !== $page ) {
return;
}
$message = sprintf(
esc_html( __( "API keys for reCAPTCHA v3 are different from those for v2; keys for v2 don’t work with the v3 API. You need to register your sites again to get new keys for v3. For details, see %s.", 'contact-form-7' ) ),
wpcf7_link(
__( 'https://contactform7.com/recaptcha/', 'contact-form-7' ),
__( 'reCAPTCHA (v3)', 'contact-form-7' )
)
);
echo sprintf(
'<div class="notice notice-warning"><p>%s</p></div>',
$message
);
}