-
-
Notifications
You must be signed in to change notification settings - Fork 95
Recent Changes for Developers
This page lists changes made in recent versions of Extended CPTs that are of interest to developers, for example new arguments and other new features. For a complete changelog, see the Releases page.
Two new post type listing screen filters were introduced: post_author
for an author dropdown, and post_date
for a date picker.
The title_icon
and title_cb
parameters were introduced for displaying a Dashicon or complex markup in post type listing screen column titles.
The dashboard_activity
argument was added to allow the post type to be included in the Recently Published
section of the Activity
widget on the dashboard.
It's now possible to specify a default
argument in a filter, so posts are filtered by that value by default.
A meta_key_exists
filter type has been introduced, which performs a real EXISTS
query on the meta key rather than the truthy meta value query that the meta_exists
filter performs.
No developer-facing changes.
An optional label
argument 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 uses date_format
. Previously this was restricted to just Unix and MySQL format timestamps.