#wordpress 2021-12-20

2021-12-20 UTC
[tw2113_Slack_] joined the channel
#
[tw2113_Slack_]
[chrisaldrich] very likely usage of `is_feed()` and `pre_get_posts` action hook
#
[tw2113_Slack_]
return early if not currently in an RSS feed, so `if ( ! is_feed() ) { return; }`
#
[tw2113_Slack_]
then set the query to exclude specific categories in the callback for `pre_get_posts`
[dmitshur], [chrisbergr], MarkJR84[d], jamietanna, [schmarty], [tantek], [snarfed], Ramon[d], [Joe_Crawford], [aciccarello], Seb[d] and [chrisaldrich] joined the channel