Postname_Permalink_Reports::get_has_no_postname_in_permalink_description()privateYoast 1.0

Returns the description for when permalinks are not set to contain the post name.

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

Хуков нет.


Строку. The description as a string.


// private - только в коде основоного (родительского) класса
$result = $this->get_has_no_postname_in_permalink_description();

Код Postname_Permalink_Reports::get_has_no_postname_in_permalink_description() Yoast 22.1

private function get_has_no_postname_in_permalink_description() {
	return \sprintf(
		/* translators: %s expands to '/%postname%/' */
		\__( 'It\'s highly recommended to have your postname in the URL of your posts and pages. Consider setting your permalink structure to %s.', 'wordpress-seo' ),