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

WPSEO_Health_Check_Link_Table_Not_Accessible::run() public Yoast 1.0

Runs the test.

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

Хуков нет.

Возвращает

null. Ничего.

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

$WPSEO_Health_Check_Link_Table_Not_Accessible = new WPSEO_Health_Check_Link_Table_Not_Accessible();
$WPSEO_Health_Check_Link_Table_Not_Accessible->run();

Код WPSEO_Health_Check_Link_Table_Not_Accessible::run() Yoast 16.2

<?php
public function run() {
	if ( ! $this->is_text_link_counter_enabled() ) {
		return;
	}

	if ( YoastSEO()->classes->get( Migration_Status::class )->is_version( 'free', WPSEO_VERSION ) ) {
		$this->label          = esc_html__( 'The text link counter is working as expected', 'wordpress-seo' );
		$this->status         = self::STATUS_GOOD;
		$this->badge['color'] = 'blue';
		$this->description    = sprintf(
			/* translators: 1: Link to the Yoast SEO blog, 2: Link closing tag. */
			esc_html__( 'The text link counter helps you improve your site structure. %1$sFind out how the text link counter can enhance your SEO%2$s.', 'wordpress-seo' ),
			'<a href="' . WPSEO_Shortlinker::get( 'https://yoa.st/3zw' ) . '" target="_blank">',
			WPSEO_Admin_Utils::get_new_tab_message() . '</a>'
		);

		return;
	}

	$this->label          = esc_html__( 'The text link counter feature is not working as expected', 'wordpress-seo' );
	$this->status         = self::STATUS_RECOMMENDED;
	$this->badge['color'] = 'red';

	$this->description = sprintf(
		/* translators: 1: Yoast SEO. */
		esc_html__( 'For this feature to work, %1$s needs to create a table in your database. We were unable to create this table automatically.', 'wordpress-seo' ),
		'Yoast SEO'
	);

	$this->actions = sprintf(
		/* translators: 1: Link to the Yoast help center, 2: Link closing tag. */
		esc_html__( '%1$sFind out how to solve this problem on our help center%2$s.', 'wordpress-seo' ),
		'<a href="' . WPSEO_Shortlinker::get( 'https://yoa.st/3zv' ) . '" target="_blank">',
		WPSEO_Admin_Utils::get_new_tab_message() . '</a>'
	);
}