Yoast\WP\SEO\Services\Health_Check
Page_Comments_Reports::get_has_comments_on_multiple_pages_actions
Returns the actions for when the comments are set to be broken up across multiple pages.
Метод класса: Page_Comments_Reports{}
Хуков нет.
Возвращает
string. The actions as a string.
Использование
// private - только в коде основоного (родительского) класса $result = $this->get_has_comments_on_multiple_pages_actions();
Код Page_Comments_Reports::get_has_comments_on_multiple_pages_actions() Page Comments Reports::get has comments on multiple pages actions Yoast 28.4
private function get_has_comments_on_multiple_pages_actions() {
return \sprintf(
/* translators: 1: Opening tag of the link to the discussion settings page, 2: Link closing tag. */
\esc_html__( '%1$sGo to the Discussion Settings page%2$s', 'wordpress-seo' ),
'<a href="' . \esc_url( \admin_url( 'options-discussion.php' ) ) . '">',
'</a>',
);
}