WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

WPSEO_Meta_Columns::collect_filters() protected Yoast 1.0

Collects the filters and merges them into a single array.

{} Это метод класса: WPSEO_Meta_Columns{}

Хуков нет.

Возвращает

Массив. Array containing all the applicable filters.

Использование

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->collect_filters();

Код WPSEO_Meta_Columns::collect_filters() Yoast 17.3

protected function collect_filters() {
	$active_filters = [];

	$seo_filter             = $this->get_current_seo_filter();
	$readability_filter     = $this->get_current_readability_filter();
	$current_keyword_filter = $this->get_current_keyword_filter();

	if ( $this->is_valid_filter( $seo_filter ) ) {
		$active_filters = array_merge(
			$active_filters,
			$this->determine_seo_filters( $seo_filter )
		);
	}

	if ( $this->is_valid_filter( $readability_filter ) ) {
		$active_filters = array_merge(
			$active_filters,
			$this->determine_readability_filters( $readability_filter )
		);
	}

	if ( $this->is_valid_filter( $current_keyword_filter ) ) {
		$active_filters = array_merge(
			$active_filters,
			$this->get_keyword_filter( $current_keyword_filter )
		);
	}

	return $active_filters;
}