Yoast\WP\SEO\Services\Health_Check
Postname_Permalink_Runner::run()
Runs the health check. Checks if permalinks are set to contain the post name.
Метод класса: Postname_Permalink_Runner{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$Postname_Permalink_Runner = new Postname_Permalink_Runner(); $Postname_Permalink_Runner->run();
Код Postname_Permalink_Runner::run() Postname Permalink Runner::run Yoast 22.4
public function run() { $this->permalinks_contain_postname = ( \strpos( \get_option( 'permalink_structure' ), '%postname%' ) !== false ); }