[wp-trac] [WordPress Trac] #29374: Add hook(s) to include other post types in the Activity widget
WordPress Trac
noreply at wordpress.org
Wed Aug 27 08:59:07 UTC 2014
#29374: Add hook(s) to include other post types in the Activity widget
-------------------------------+------------------------------
Reporter: samueljmello | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version: 3.8
Severity: normal | Resolution:
Keywords: | Focuses: administration
-------------------------------+------------------------------
Comment (by knutsp):
Thanks, Sergey. Elegant. `pre_get_posts` is extremely powerful and can do
almost anything. It's no problem making it work, but to tame it not to do
it when it shouldn't.
But I hope, some day, using this method is not necessary for such a simple
task. It should show all public post types by default, and perhaps have a
filter to exclude some.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29374#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list