In this article

filter

jetpack_search_custom_taxonomy_map

Map custom taxonomy slugs to a reserved Jetpack Search index slot. Default is an empty array, which leaves the slot-mapping feature entirely off — no slot taxonomies registered, no auto-mirror, no query rewrite. A site enables the feature by returning a non-empty map from this filter.

Parameters

$map
array<string, string>

Empty by default; entries shape `[ 'user_slug' => 'jetpack-search-tagN' ]`.

Changelog

How to use this hook

See “How to use actions and filters to customize Jetpack”.