-
-
Notifications
You must be signed in to change notification settings - Fork 92
Recent Changes for Developers
John Blackbourn edited this page Jun 18, 2025
·
23 revisions
This page lists changes made in recent versions of Extended CPTs that are of interest to developers, for example new arguments and new features. For a complete changelog, see the Releases page.
Existing taxonomies can now be extended just like post types.
No developer-facing changes.
Several changes that concern developers, including a bump to the minimum supported PHP version. See the release notes for details.
No developer-facing changes.
No developer-facing changes.
- PHP 8 support was added. There is no functional change to the library, just the platform dependency in
composer.jsonwas updated to allow the library to be installed with PHP 8.
- Some new filters were introduced. See the filters and actions documentation for all the details.
- The
block_editorargument was introduced.
No developer-facing changes.
No developer-facing changes.
- The
post_authorfilter now accepts anoptionsarray or callback.
- Two new post type listing screen filters were introduced:
post_authorfor an author dropdown, andpost_datefor a date picker. - The
title_iconandtitle_cbparameters were introduced for displaying a Dashicon or complex markup in post type listing screen column titles. -
The
dashboard_activityargument was added to allow the post type to be included in theRecently Publishedsection of theActivitywidget on the dashboard.
- It's now possible to specify a
defaultargument in a filter, so posts are filtered by that value by default. -
A
meta_key_existsfilter type has been introduced, which performs a realEXISTSquery on the meta key rather than the truthy meta value query that themeta_existsfilter performs.
No developer-facing changes.
- An optional
labelargument can now be passed to most filters to control the text used for the<label>element for the field. A sensible default is used depending on the filter type, and it's unlikely you'll need to change this.
No developer-facing changes.
No developer-facing changes.
No developer-facing changes.
- Any value that can be passed through
strtotime()can now be used when using an admin column that usesdate_format. Previously this was restricted to just Unix and MySQL format timestamps.