TermRepository

circle-info

WP_Term_Queryarrow-up-right Wordpress wrapper to query objects

Methods

Counts entities by a set of criteria.

find($id)

Finds an entity by its primary key / identifier.

findAll($orderBy, $public=true)

Finds all public entities in the repository.

findBy($criteriaarrow-up-right, $orderBy, $limit, $offset)

Finds entities by a set of criteria.

findOneBy($criteriaarrow-up-right, $orderBy)

Finds a single entity by a set of criteria.

findQueried()

Finds a single entity related to the main query

findTaxonomies($args=[], $output='names', $operator='and')

Retrieves a list of registered taxonomy names or objects.

Example

Last updated