#2329 closed enhancement (wontfix)
Add filter for wp_get_archives
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.0 |
Component: | General | Keywords: | needs-patch |
Focuses: | Cc: |
Description
My Category Access plugin hides posts in restricted categories. wp_get_archives doesn't have a hook for me to fix the count. For example, if a month has 20 posts, but 4 are inaccessible, I'd like to reduce the post count to 16.
See my original post on wp-hackers here: http://comox.textdrive.com/pipermail/wp-hackers/2006-January/004096.html
Change History (7)
Note: See
TracTickets for help on using
tickets.
Are you looking for the 'getarchives_where' filter? general-template.php, line 388. I imagine that will allow you to exclude particular posts from the count.
I'm going to close this ticket now as there hasn't been any real activity on it. Please reopen it if you feel more can be done.