Yoast\WP\SEO\Services\Health_Check
Links_Table_Reports::get_success_description
Returns the description for when the health check was successful.
Метод класса: Links_Table_Reports{}
Хуков нет.
Возвращает
string. The description as a string.
Использование
// private - только в коде основоного (родительского) класса $result = $this->get_success_description();
Код Links_Table_Reports::get_success_description() Links Table Reports::get success description Yoast 28.4
private function get_success_description() {
return \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="' . $this->shortlinker->get( 'https://yoa.st/3zw' ) . '" target="_blank">',
WPSEO_Admin_Utils::get_new_tab_message() . '</a>',
);
}