wpcf7_captcha_future_warning()
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
wpcf7_captcha_future_warning( $page, $action, $object );
- $page (обязательный)
- -
- $action (обязательный)
- -
- $object (обязательный)
- -
Код wpcf7_captcha_future_warning() wpcf7 captcha future warning CF7 6.0.5
function wpcf7_captcha_future_warning( $page, $action, $object ) { $service = WPCF7_RECAPTCHA::get_instance(); if ( ! $service->is_active() ) { return; } $message = wp_kses( __( '<strong>Attention reCAPTCHA users:</strong> Google has a plan to make all reCAPTCHA users migrate to reCAPTCHA Enterprise. This means a cost increase for many of you. Learn about <a href="https://contactform7.com/2025/02/10/our-future-plans-for-captchas/">our future plans for CAPTCHAs</a> and the options you have.', 'contact-form-7' ), array( 'a' => array( 'href' => true ), 'strong' => array(), ), array( 'http', 'https' ) ); wp_admin_notice( $message, array( 'type' => 'warning' ) ); }