Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
LookupDataStore::get_term_ids_by_slug_cache( array $taxonomies )
Get a cache of term ids by slug for a set of taxonomies, with this format:
Description Description
[ ‘taxonomy’ => [ ‘slug_1’ => id_1, ‘slug_2’ => id_2, … ], … ]
Parameters Parameters
- $taxonomies
-
(Required) List of taxonomies to build the cache for.
Return Return
(array) A dictionary of taxonomies => dictionary of term slug => term id.
Source Source
File: src/Internal/ProductAttributesLookup/LookupDataStore.php