---
title: Posttypes
url: 'https://brendo.org/wp-content/plugins/custom-login/vendor/jjgrainger/posttypes'
markdown: 'https://brendo.org/wp-content/plugins/custom-login/vendor/jjgrainger/posttypes.md'
date: '2026-04-06'
description: 'Changelog v2.2.1 merge pull requests #95: Update tests merge pull requests #93: Fix empty array if taxonomy query var is null merge pull requests #88: Fix docblock definition v2.2 merge pull requests #81: Fix Taxonomy dropdown filter merge pull requests #80: Fix Modify Existing Objects merge pul…'
---

# Changelog

##### v2.2.1

- merge [pull requests #95](https://github.com/jjgrainger/PostTypes/pull/95): Update tests
- merge [pull requests #93](https://github.com/jjgrainger/PostTypes/pull/93): Fix empty array if taxonomy query var is null
- merge [pull requests #88](https://github.com/jjgrainger/PostTypes/pull/88): Fix docblock definition

##### v2.2

- merge [pull requests #81](https://github.com/jjgrainger/PostTypes/pull/81): Fix Taxonomy dropdown filter
- merge [pull requests #80](https://github.com/jjgrainger/PostTypes/pull/80): Fix Modify Existing Objects
- merge [pull requests #72](https://github.com/jjgrainger/PostTypes/pull/72): fix issue 71
- merge [pull requests #74](https://github.com/jjgrainger/PostTypes/pull/74): Allow setting false to sort by alphabetical
- merge [pull requests #79](https://github.com/jjgrainger/PostTypes/pull/79): Update docs and README examples
- merge [pull requests #78](https://github.com/jjgrainger/PostTypes/pull/78): Maintenance

##### v2.1

- merge [pull reqeuest #45](https://github.com/jjgrainger/PostTypes/pull/45): add PHP 7.2 Compatibility
- merge [pull reqeuest #46](https://github.com/jjgrainger/PostTypes/pull/46): Make sure the “orderby” query var is a string when sorting by columns.
- merge [pull reqeuest #55](https://github.com/jjgrainger/PostTypes/pull/55): Fix column mismatch broken sort
- merge [pull reqeuest #56](https://github.com/jjgrainger/PostTypes/pull/56): Grammar mistakes corrected
- merge [pull reqeuest #61](https://github.com/jjgrainger/PostTypes/pull/61): Fix incorrect property types
- merge [pull reqeuest #62](https://github.com/jjgrainger/PostTypes/pull/62): Allow for multiple taxonomies and post types to be added
- merge [pull reqeuest #63](https://github.com/jjgrainger/PostTypes/pull/63): Update Taxonomy columns documentation
- merge [pull reqeuest #64](https://github.com/jjgrainger/PostTypes/pull/64): Update minimum PHP version, phpunit and phpcs

##### v2.0.1

- merge [pull reqeuest #19](https://github.com/jjgrainger/PostTypes/pull/19): Use wp\_dropdown\_categories function for post filtering selectbox
- update minimum php version to 5.6

##### v2.0

- fix [issue #9](https://github.com/jjgrainger/PostTypes/issues/9): add unit tests
- fix [issue #12](https://github.com/jjgrainger/PostTypes/issues/12) and [issue #13](https://github.com/jjgrainger/PostTypes/issues/13): generating duplicate columns
- fix [issue #2](https://github.com/jjgrainger/PostTypes/issues/2) and [issue #16](https://github.com/jjgrainger/PostTypes/issues/16): translations not working
- create Taxonomy class
- fix [issue #11](https://github.com/jjgrainger/PostTypes/issues/11): add `columns()` to Taxonomy class
- update [`examples/books.php`](https://github.com/jjgrainger/PostTypes/blob/master/examples/books.php)

##### v1.1.2

- fix PHPCS as dev requirement
- add version to composer json

##### v1.1.1

- fix [issue #8](https://github.com/jjgrainger/PostTypes/issues/8): Error with `$addTaxonomy`

##### v1.1

- fix [issue #6](https://github.com/jjgrainger/PostTypes/issues/6): problem registering existing taxonomies
- add [issue #1](https://github.com/jjgrainger/PostTypes/issues/1): Add PHPCS and Travic integration
- merge [pull request #3](https://github.com/jjgrainger/PostTypes/pull/3): Add `labels()` method to `PostTypes`

---

## Navigation

- Children:
  - [Docs](https://brendo.org/wp-content/plugins/custom-login/vendor/jjgrainger/posttypes/docs.md)
