Skip to content

ContentTypeIdentifier Criterion

The ContentTypeIdentifier Search Criterion searches for content based on the identifier of its Content Type.

Arguments

  • value - string(s) representing the Content Type identifier(s).

Example

1
$query->query = new Criterion\ContentTypeIdentifier(['article', 'blog_post']);