-
apply_filters( 'bbp_get_forums_for_current_user', $forums )
Source Reference:
-
$r = wp_parse_args( $args, $defaults ); // Get the forums $forums = get_posts( $r ); // No availabe forums if ( empty( $forums ) ) $forums = false; return apply_filters( 'bbp_get_forums_for_current_user', $forums ); } /** * Performs a series of checks to ensure the current user can create topics. * * @since bbPress (r3127) * * @uses bbp_is_topic_edit() * @uses current_user_can() * @uses bbp_get_topic_id()
-