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.


Top ↑

Return Return

(array) A dictionary of taxonomies => dictionary of term slug => term id.


Top ↑

Source Source

File: src/Internal/ProductAttributesLookup/LookupDataStore.php


			


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.