Description
Quickly and easily view all your published posts.
Available filters
published_widget_icon - The dashicon to use for the dashboard widget.
published_widget_title - The title to use for the dashboard widget.
published_post_types_to_show - An array of post types to show in the widget. Defaults to all public post types except attachments.
published_widget_query_args - An array of arguments to pass to the WP_Query.
published_show_in_widget - Will pass ID of each post, returning `false` will not add it to the dashboard widget.
Changelog
1.1.2
- Only published posts are shown. Drafts and scheduled posts were showing up.
- Fixed the
published_show_in_widgetfilter, which was registered asschedules_show_in_widget. - Returning
falsefrompublished_show_in_widgetnow hides the post, as documented. - Dates use the site timezone, and titles and links are escaped.
- Menu items, templates, and other non-content post types are no longer included.
- Requires WordPress 6.0 and PHP 7.4, tested up to WordPress 7.1.
1.1.1
- Added more filters
1.1.0
- Fix namespace
1.0.0
- Initial release
