Yoast\WP\SEO\Presenters\Admin

Woocommerce_Beta_Editor_Presenter::present()publicYoast 1.0

Returns the notification as an HTML string.

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

Хуков нет.

Возвращает

Строку. The notification in an HTML string representation.

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

$Woocommerce_Beta_Editor_Presenter = new Woocommerce_Beta_Editor_Presenter();
$Woocommerce_Beta_Editor_Presenter->present();

Код Woocommerce_Beta_Editor_Presenter::present() Yoast 24.1

public function present() {
	$notification_text  = '<p>';
	$notification_text .= $this->get_message();
	$notification_text .= '</p>';

	return $notification_text;
}