[wp-trac] [WordPress Trac] #9571: Filter to exclude categories from
adjacent post links
WordPress Trac
wp-trac at lists.automattic.com
Sat Apr 18 03:09:42 GMT 2009
#9571: Filter to exclude categories from adjacent post links
-------------------------+--------------------------------------------------
Reporter: rmccue | Owner: anonymous
Type: enhancement | Status: new
Priority: normal | Milestone: Unassigned
Component: General | Version:
Severity: normal | Keywords:
-------------------------+--------------------------------------------------
I'm currently attempting to exclude a certain category from everywhere
possible. While there are filters to exclude it from everywhere else (as
far as I can see, anyway), there is not a filter to exclude it from
next/previous post links.
The following patch adds a hook called 'get_{$adjacent}_post_excluded' to
filter the excluded categories string.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9571>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list