bbp_is_anonymous()
Is an anonymous topic/reply being made?
Description Description
Return Return
(bool) True if anonymous is allowed and user is not logged in, false if anonymous is not allowed or user is logged in
Source Source
File: includes/users/functions.php
function bbp_is_anonymous() { $is_anonymous = ( ! is_user_logged_in() && bbp_allow_anonymous() ); // Filter & return return (bool) apply_filters( 'bbp_is_anonymous', $is_anonymous ); }
Changelog Changelog
Version | Description |
---|---|
2.0.0 | Introduced. |