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