WPCF7_WelcomePanelColumn_Flamingo{}CF7 1.0└─ WPCF7_WelcomePanelColumn

Хуков нет.

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

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

Методы

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

Код WPCF7_WelcomePanelColumn_Flamingo{} CF7 6.1.4

class WPCF7_WelcomePanelColumn_Flamingo extends WPCF7_WelcomePanelColumn {

	protected function icon() {
		return 'editor-help';
	}

	protected function title() {
		return __( 'Before you cry over spilt mail…', 'contact-form-7' );
	}

	protected function content() {
		return array(
			__( 'Contact Form 7 does not store submitted messages anywhere. Therefore, you may lose important messages forever if your mail server has issues or you make a mistake in mail configuration.', 'contact-form-7' ),
			sprintf(
				/* translators: %s: URL to support page about the Flamingo plugin */
				__( 'Install a message storage plugin before this happens to you. <a href="%s">Flamingo</a> saves all messages through contact forms into the database. Flamingo is a free WordPress plugin created by the same author as Contact Form 7.', 'contact-form-7' ),
				__( 'https://contactform7.com/save-submitted-messages-with-flamingo/', 'contact-form-7' )
			),
		);
	}
}