Yoast\WP\SEO\Services\Health_Check
Postname_Permalink_Reports::get_has_no_postname_in_permalink_description()
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() Postname Permalink Reports::get has no postname in permalink description Yoast 22.4
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' ), '<strong>/%postname%/</strong>' ); }