bbp_has_forums returning wrong value
-
I have a bbPress forum integrated with WooCommerce.
Until a few days ago it was working fine, but now$uid = bbp_get_current_user_id(); if ( bbp_has_forums( array( 'author' => $uid )) ) :
returns bool(false) regardless of the user or user role.
On a side note, when searching codex.bbpress.org, the results I (don’t) get:
bbp_get_current_user_id – “Sorry, no posts matched your criteria.”
bbp_has_forums – “Sorry, no posts matched your criteria.”
bbp_forums – “Sorry, no posts matched your criteria.”
bbp_the_forum – “Sorry, no posts matched your criteria.”I understand these are just wrappers for WP_Query, but there are some obviously also forum-specific options. It doesn’t seem like much of a codex. Just saying.
- You must be logged in to reply to this topic.