WPCF7_WelcomePanelColumn_Integration{}CF7 1.0└─ WPCF7_WelcomePanelColumn

Хуков нет.

Использование

$WPCF7_WelcomePanelColumn_Integration = new WPCF7_WelcomePanelColumn_Integration();
// use class methods

Методы

  1. protected icon()
  2. protected title()
  3. protected content()

Код WPCF7_WelcomePanelColumn_Integration{} CF7 6.1.3

class WPCF7_WelcomePanelColumn_Integration extends WPCF7_WelcomePanelColumn {

	protected function icon() {
		return 'superhero-alt';
	}

	protected function title() {
		return __( 'You have strong allies to back you up.', 'contact-form-7' );
	}

	protected function content() {
		return array(
			sprintf(
				/* translators: %s: URL to support page about the Brevo integration */
				__( 'Your contact forms will become more powerful and versatile by integrating them with external APIs. With CRM and email marketing services, you can build your own contact lists (<a href="%s">Brevo</a>).', 'contact-form-7' ),
				__( 'https://contactform7.com/sendinblue-integration/', 'contact-form-7' )
			),
			sprintf(
				/* translators: 1: URL to support page about Cloudflare Turnstile, 2: Stripe */
				__( 'With help from cloud-based machine learning, anti-spam services will protect your forms (<a href="%1$s">Cloudflare Turnstile</a>). Even payment services are natively supported (<a href="%2$s">Stripe</a>).', 'contact-form-7' ),
				__( 'https://contactform7.com/turnstile-integration/', 'contact-form-7' ),
				__( 'https://contactform7.com/stripe-integration/', 'contact-form-7' )
			),
		);
	}
}