WPCF7_WelcomePanelColumn_AntiSpam{}CF7 1.0└─ WPCF7_WelcomePanelColumn

Хуков нет.

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

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

Методы

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

Код WPCF7_WelcomePanelColumn_AntiSpam{} CF7 6.1.3

class WPCF7_WelcomePanelColumn_AntiSpam extends WPCF7_WelcomePanelColumn {

	protected function icon() {
		return 'shield';
	}

	protected function title() {
		return __( 'Getting spammed? You have protection.', 'contact-form-7' );
	}

	protected function content() {
		return array(
			__( 'Spammers target everything; your contact forms are not an exception. Before you get spammed, protect your contact forms with the powerful anti-spam features Contact Form 7 provides.', 'contact-form-7' ),
			sprintf(
				/* translators: 1: URL to support page about Akismet, 2: Cloudflare Turnstile, 3: Disallowed list */
				__( 'Contact Form 7 supports spam-filtering with <a href="%1$s">Akismet</a>. <a href="%2$s">Cloudflare Turnstile</a> blocks annoying spambots. Plus, using <a href="%3$s">disallowed list</a>, you can block messages containing specified keywords or those sent from specified IP addresses.', 'contact-form-7' ),
				__( 'https://contactform7.com/spam-filtering-with-akismet/', 'contact-form-7' ),
				__( 'https://contactform7.com/turnstile-integration/', 'contact-form-7' ),
				__( 'https://contactform7.com/comment-blacklist/', 'contact-form-7' )
			),
		);
	}
}