WPSEO_Meta_Columns::create_readability_score_filter
Creates a Readability score filter.
Метод класса: WPSEO_Meta_Columns{}
Хуков нет.
Возвращает
Массив<Массив<Строку>>. The Readability Score filter.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->create_readability_score_filter( $low, $high );
- $low(number) (обязательный)
- The lower boundary of the score.
- $high(number) (обязательный)
- The higher boundary of the score.
Код WPSEO_Meta_Columns::create_readability_score_filter() WPSEO Meta Columns::create readability score filter Yoast 27.4
protected function create_readability_score_filter( $low, $high ) {
return [
[
'key' => WPSEO_Meta::$meta_prefix . 'content_score',
'value' => [ $low, $high ],
'type' => 'numeric',
'compare' => 'BETWEEN',
],
];
}