WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru Самая быстрая Тема-конструктор для WordPress
функция не описана

WPSEO_Configuration_Page::get_notification() private Yoast 1.0

Gets the notification.

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

Хуков нет.

Возвращает

Yoast_Notification.

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

$result = WPSEO_Configuration_Page::get_notification();

Код WPSEO_Configuration_Page::get_notification() Yoast 15.1.1

<?php
private static function get_notification() {
	$message  = __( 'The configuration wizard helps you to easily configure your site to have the optimal SEO settings.', 'wordpress-seo' );
	$message .= '<br/>';
	$message .= sprintf(
		/* translators: %1$s resolves to Yoast SEO, %2$s resolves to the starting tag of the link to the wizard, %3$s resolves to the closing link tag */
		__( 'We have detected that you have not finished this wizard yet, so we recommend you to %2$sstart the configuration wizard to configure %1$s%3$s.', 'wordpress-seo' ),
		'Yoast SEO',
		'<a href="' . admin_url( '?page=' . self::PAGE_IDENTIFIER ) . '">',
		'</a>'
	);

	$notification = new Yoast_Notification(
		$message,
		[
			'type'         => Yoast_Notification::WARNING,
			'id'           => 'wpseo-dismiss-onboarding-notice',
			'capabilities' => 'wpseo_manage_options',
			'priority'     => 0.8,
		]
	);

	return $notification;
}