WPSEO_Taxonomy_Columns::get_score_value()
Parses the value for the score column.
Метод класса: WPSEO_Taxonomy_Columns{}
Хуков нет.
Возвращает
Строку
.
Использование
// private - только в коде основоного (родительского) класса $result = $this->get_score_value( $term_id );
- $term_id(int) (обязательный)
- ID of requested term.
Код WPSEO_Taxonomy_Columns::get_score_value() WPSEO Taxonomy Columns::get score value Yoast 24.9
private function get_score_value( $term_id ) { $indexable = $this->indexable_repository->find_by_id_and_type( (int) $term_id, 'term' ); return $this->score_icon_helper->for_seo( $indexable, '', __( 'Term is set to noindex.', 'wordpress-seo' ) ); }