WPSEO_Primary_Term_Admin::get_mapped_taxonomies_for_js
Creates a map of taxonomies for localization.
Метод класса: WPSEO_Primary_Term_Admin{}
Хуков нет.
Возвращает
Массив. The mapped taxonomies.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->get_mapped_taxonomies_for_js( $taxonomies );
- $taxonomies(массив) (обязательный)
- The taxononmies that should be mapped.
Код WPSEO_Primary_Term_Admin::get_mapped_taxonomies_for_js() WPSEO Primary Term Admin::get mapped taxonomies for js Yoast 27.9
protected function get_mapped_taxonomies_for_js( $taxonomies ) {
return array_map( [ $this, 'map_taxonomies_for_js' ], $taxonomies );
}