Skip to content

TaxonomyEntryId Criterion

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

Arguments

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

Example

PHP

1
$query->query = new Criterion\TaxonomyEntryId(1);

Add an array of ID's to find Content tagged with at least one of the tags (OR).

1
$query->query = new Criterion\TaxonomyEntryId([1, 2, 3]);