wpcf7_ctct_deprecated_warning()
Хуков нет.
Возвращает
null. Ничего (null).
Использование
wpcf7_ctct_deprecated_warning( $page, $action, $object );
- $page(обязательный)
- .
- $action(обязательный)
- .
- $object(обязательный)
- .
Код wpcf7_ctct_deprecated_warning() wpcf7 ctct deprecated warning CF7 6.2.4.1
function wpcf7_ctct_deprecated_warning( $page, $action, $object ) {
$service = WPCF7_ConstantContact::get_instance();
if ( $service->is_active() ) {
wp_admin_notice(
sprintf(
/* translators: 1: URL to announcement post, 2: URL to Brevo integration doc */
__( 'Contact Form 7 has completed the <a href="%1$s">removal of the Constant Contact integration</a>. We recommend <a href="%2$s">Brevo</a> as an alternative.', 'contact-form-7' ),
'https://contactform7.com/2025/01/08/complete-removal-of-constant-contact-integration/',
'https://contactform7.com/sendinblue-integration/'
),
array( 'type' => 'warning' )
);
}
}