Skip to content

TaxonomyEntryId Criterion

The TaxonomyEntryId Search Criterion searches for content based on the ID of the Taxonomy Entry it's assigned to.

Arguments

  • value - int(s) representing the IDs of the Tag(s)

Limitations

TaxonomyEntryId can be used on all search engines.

Example

PHP

1
2
3
$query->query = new Criterion\TaxonomyEntryId(1);
// Or with multiple IDs
$query->query = new Criterion\TaxonomyEntryId([1, 2, 3]);