1 | | Running into this as an issue with the bbPress plugin and the topics and replies widgets. Since forums can be 'private' I need post_parent__not_in to exclude private forum IDs from the widgets completely. The alternative is quite ugly, involving using meta queries and storing an additional meta entry for every topic/reply with the forum status. Ugly because if the forum status changes, every topic/reply in that forum needs to be updated. |
| 1 | Running into this as an issue with the bbPress plugin and the topics and replies widgets. Since forums can be 'private' I specifically need... |
| 2 | {{{ |
| 3 | post_parent__not_in |
| 4 | }}} |
| 5 | ...to exclude private forum IDs from the widgets completely. The alternative is quite ugly, involving using meta queries and storing an additional meta entry for every topic/reply with the forum status. Ugly because if the forum status changes, every topic/reply in that forum needs to be updated. |