Yoast\WP\SEO\Presenters\Admin

Search_Engines_Discouraged_Presenter::present()publicYoast 1.0

Returns the notification as an HTML string.

{} Это метод класса: Search_Engines_Discouraged_Presenter{}

Хуков нет.

Возвращает

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

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

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

Код Search_Engines_Discouraged_Presenter::present() Yoast 19.7.1

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

	return $notification_text;
}