Yoast\WP\SEO\Task_List\Application\Tasks

Improve_Content_Readability::get_copy_setpublicYoast 1.0

Returns the task's copy set.

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

Хуков нет.

Возвращает

Copy_Set.

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

$Improve_Content_Readability = new Improve_Content_Readability();
$Improve_Content_Readability->get_copy_set(): Copy_Set;

Код Improve_Content_Readability::get_copy_set() Yoast 27.7

public function get_copy_set(): Copy_Set {
	$post_type = \get_post_type_object( $this->get_post_type() );

	return new Copy_Set(
		/* translators: %1$s expands to the post type label this task is about */
		\sprintf( \__( 'Improve the readability of your recent content: %1$s', 'wordpress-seo' ), $post_type->label ),
		\sprintf(
			/* translators: %1$s expands to an opening p tag, %2$s and %4$s expand to a closing p tag, %3$s expands to an opening p tag and opening strong tag, %5$s expands to a closing strong tag, %6$s expands to an opening strong tag, %7$s expands to a closing strong tag and closing p tag */
			\__( '%1$sChecking your recent content\'s readability ensures it stays clear and easy to follow, improving your user experience. Follow the feedback to refine your sentence structure and word choice and maintain a high standard of engagement and comprehension.%2$s%3$sPro tip%5$s: Use %6$sAI Optimize%7$s to automatically simplify complex sentences and improve the flow of your writing.%4$s', 'wordpress-seo' ),
			'<p>',
			'</p>',
			'<p><strong>',
			'</p>',
			'</strong>',
			'<strong>',
			'</strong>',
		),
	);
}