Yoast\WP\SEO\Task_List\Application\Tasks
Delete_Sample_Page::get_copy_set
Returns the task's copy set.
Метод класса: Delete_Sample_Page{}
Хуков нет.
Возвращает
Copy_Set.
Использование
$Delete_Sample_Page = new Delete_Sample_Page(); $Delete_Sample_Page->get_copy_set(): Copy_Set;
Код Delete_Sample_Page::get_copy_set() Delete Sample Page::get copy set Yoast 27.7
public function get_copy_set(): Copy_Set {
return new Copy_Set(
\__( 'Remove the "Sample Page"', 'wordpress-seo' ),
'<p>' . \__( 'Leaving placeholder content makes your site look unfinished and untrustworthy. Removing it keeps your site clean and professional for visitors and search engines.', 'wordpress-seo' ) . '</p>',
);
}