Yoast\WP\SEO\Task_List\Application\Tasks

Create_New_Content::get_copy_setpublicYoast 1.0

Returns the task's copy set.

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

Хуков нет.

Возвращает

Строку|null.

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

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

Код Create_New_Content::get_copy_set() Yoast 27.7

public function get_copy_set(): Copy_Set {
	return new Copy_Set(
		\__( 'Create new content', 'wordpress-seo' ),
		\sprintf(
			/* translators: %1$s and %3$s expands to an opening p tag, %2$s and %5$s expand to a closing p tag and %4$s expands to Yoast */
			\__( '%1$sLong gaps without new content slow down your traffic growth. Publishing regularly gives search engines and visitors a reason to return.%2$s%3$sPlan a topic, write your post, and use the %4$s SEO and Readability Analyses to refine it before publishing.%5$s', 'wordpress-seo' ),
			'<p>',
			'</p>',
			'<p>',
			'Yoast',
			'</p>',
		),
	);
}