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 16.2

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 ) . '">',

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

	return $notification;