Yoast\WP\SEO\Presenters\Admin

Woocommerce_Beta_Editor_Presenter::get_message()protectedYoast 1.0

Returns the message to show.

Метод класса: Woocommerce_Beta_Editor_Presenter{}

Хуков нет.

Возвращает

Строку. The message.

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

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->get_message();

Код Woocommerce_Beta_Editor_Presenter::get_message() Yoast 24.1

protected function get_message() {
	return \sprintf(
		'<strong>%1$s</strong> %2$s',
		\esc_html__( 'Compatibility issue: Yoast SEO is incompatible with the beta WooCommerce product editor.', 'wordpress-seo' ),
		\sprintf(
			/* translators: 1: Yoast SEO, 2: Link start tag to the Learn more link, 3: Link closing tag. */
			\esc_html__( 'The %1$s interface is currently unavailable in the beta WooCommerce product editor. To resolve any issues, please disable the beta editor. %2$sLearn how to disable the beta WooCommerce product editor.%3$s', 'wordpress-seo' ),
			'Yoast SEO',
			'<a href="' . \esc_url( $this->short_link_helper->get( 'https://yoa.st/learn-how-disable-beta-woocommerce-product-editor' ) ) . '" target="_blank">',
			'</a>'
		)
	);
}