I think one could search for a given term slug with getEntityRecords
:
select('core').getEntityRecords( 'taxonomy', 'category', { slug : 'my-slug' } )
by skimming through the endpoint reference that supports the slug
query parameter.
I think one could search for a given term slug with getEntityRecords
:
select('core').getEntityRecords( 'taxonomy', 'category', { slug : 'my-slug' } )
by skimming through the endpoint reference that supports the slug
query parameter.