Skip to content

ContentTypeId Criterion

The ContentTypeId Search Criterion searches for content based on the ID of its Content Type.

Arguments

  • value - int(s) representing the Content Type ID(s).

Example

1
$query->query = new Criterion\ContentTypeId([44]);