Yoast\WP\SEO\Services\Health_Check
Postname_Permalink_Reports::get_has_no_postname_in_permalink_actions()
Returns the actions for when permalinks are not set to contain the post name.
Метод класса: Postname_Permalink_Reports{}
Хуков нет.
Возвращает
Строку
. The actions as a string.
Использование
// private - только в коде основоного (родительского) класса $result = $this->get_has_no_postname_in_permalink_actions();
Код Postname_Permalink_Reports::get_has_no_postname_in_permalink_actions() Postname Permalink Reports::get has no postname in permalink actions Yoast 24.1
private function get_has_no_postname_in_permalink_actions() { return \sprintf( /* translators: %1$s is a link start tag to the permalink settings page, %2$s is the link closing tag. */ \__( 'You can fix this on the %1$sPermalink settings page%2$s.', 'wordpress-seo' ), '<a href="' . \admin_url( 'options-permalink.php' ) . '">', '</a>' ); }