Tribe__Events__Admin__Notice__Marketing::notice_gutenberg()

HTML for the Gutenberg Notice


Return

(string)


Top ↑

Source

File: src/Tribe/Admin/Notice/Marketing.php

	public function notice_gutenberg() {
		$notice  = __( '<strong>The Events Calendar & Gutenberg</strong>', 'the-events-calendar' );

		$notice .= sprintf(
			'<p>%1$s</p>',
			esc_html__( 'WordPress 5.0 is coming soon, and with it, the arrival of the new block editor interface.', 'the-events-calendar' )
		);

		$notice .= sprintf(
			'<p>%1$s</p>',
			esc_html__( 'Get up to speed with our comprehensive Guide to Gutenberg ebook, then see how events and tickets will behave in the block editor by installing our free Events Gutenberg extension.', 'the-events-calendar' )
		);

		$notice .= sprintf(
			'<a href="%1$s" target="_blank">%2$s</a>',
			esc_url( 'http://m.tri.be/1a82' ),
			esc_html__( 'Download the eBook', 'the-events-calendar' )
		);

		$notice .= ' &mdash; ';

		$notice .= sprintf(
			'<a href="%1$s" target="_blank">%2$s</a>',
			esc_url( 'http://m.tri.be/1a83' ),
			esc_html__( 'Try Events Gutenberg', 'the-events-calendar' )
		);

		return $notice;
	}

Top ↑

Changelog

Changelog
Version Description
4.6.25 Introduced.