Yoast\WP\SEO\Services\Health_Check

Page_Comments_Reports::get_has_comments_on_multiple_pages_actions()privateYoast 1.0

Returns the actions for when the comments are set to be broken up across multiple pages.

Метод класса: Page_Comments_Reports{}

Хуков нет.

Возвращает

Строку. 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() Yoast 22.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>'
	);
}