bbp_is_user_forum_moderator
bbp_is_user_forum_moderator
Appears in: bbpress.2.6.0, bbpress.2.6.1, bbpress.2.6.11, bbpress.2.6.2, bbpress.2.6.3, bbpress.2.6.4, bbpress.2.6.5, bbpress.2.6.6, bbpress.2.6.9
Hook Type: filter
Displaying hooks found in version: bbpress.2.6.9apply_filters('bbp_is_user_forum_moderator') is found 1 times:
- /includes/forums/capabilities.php line 235
$forum_id = bbp_get_forum_id( $forum_id ); $retval = user_can( $user_id, 'moderate', $forum_id ); // Filter & return return (bool) apply_filters( 'bbp_is_user_forum_moderator', $retval, $user_id, $forum_id ); } /** * Filter an array of forum IDs that are being excluded, and remove any forum * IDs a user explicitly has access to. *