Yoast\WP\SEO\Presenters\Admin
Search_Engines_Discouraged_Presenter::present
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() Search Engines Discouraged Presenter::present Yoast 27.3
public function present() {
$notification_text = '<p>';
$notification_text .= $this->get_message();
$notification_text .= '</p>';
return $notification_text;
}