WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru Получай пассивный доход от сайта с помощью браузерных PUSH уведомлений
функция не описана

WPSEO_Health_Check_Ryte::is_not_indexable_response() protected Yoast 1.0

Adds the content for the "Cannot be indexed" response.

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

Хуков нет.

Возвращает

null. Ничего.

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

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->is_not_indexable_response();

Код WPSEO_Health_Check_Ryte::is_not_indexable_response() Yoast 16.2

<?php
protected function is_not_indexable_response() {
	$this->label          = esc_html__( 'Your site cannot be found by search engines', 'wordpress-seo' );
	$this->status         = self::STATUS_CRITICAL;
	$this->badge['color'] = 'red';

	$this->description = sprintf(
		/* translators: %1$s: Expands to 'Ryte', %2$s: Expands to 'Yoast SEO'. */
		esc_html__( '%1$s offers a free indexability check for %2$s users and it has determined that your site cannot be found by search engines. If this site is live or about to become live, this should be fixed.', 'wordpress-seo' ),
		'Ryte',
		'Yoast SEO'
	);

	$this->actions = sprintf(
		/* translators: %1$s: Opening tag of the link to the Yoast help center, %2$s: Link closing tag. */
		esc_html__( '%1$sRead more about troubleshooting search engine visibility.%2$s', 'wordpress-seo' ),
		'<a href="' . esc_url( WPSEO_Shortlinker::get( 'https://yoa.st/onpageindexerror' ) ) . '" target="_blank">',
		WPSEO_Admin_Utils::get_new_tab_message() . '</a>'
	);
	$this->actions .= '<br /><br />';

	$this->add_ryte_link();
}