WPCF7_WelcomePanelColumn_Donation{}CF7 1.0└─ WPCF7_WelcomePanelColumn

Хуков нет.

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

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

Методы

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

Код WPCF7_WelcomePanelColumn_Donation{} CF7 6.1.4

class WPCF7_WelcomePanelColumn_Donation extends WPCF7_WelcomePanelColumn {

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

	protected function title() {
		return __( 'Contact Form 7 needs your support.', 'contact-form-7' );
	}

	protected function content() {
		return array(
			__( 'It is hard to continue to maintain this plugin without support from users like you.', 'contact-form-7' ),
			sprintf(
				/* translators: %s: URL to support page about ways to contribute */
				__( 'There are several ways for you to <a href="%s">contribute to the project</a>: testing, coding, translating it into your local languages, helping other users, financial donations, etc, etc. We equally welcome you regardless of the way you contribute.', 'contact-form-7' ),
				__( 'https://contactform7.com/contributing/', 'contact-form-7' )
			),
		);
	}
}