bbp_is_reply_anonymous

  • apply_filters( 'bbp_is_reply_anonymous', $retval )

    Source Reference:

    • Component: bbPress :: bbp-reply
      File: /bbp-includes/bbp-reply-template.php :: Trac Source Line: 767
      	if ( !bbp_get_reply_author_id( $reply_id ) )
      		$retval = true;
      
      	elseif ( get_post_meta( $reply_id, '_bbp_anonymous_name', true ) )
      		$retval = true;
      
      	elseif ( get_post_meta( $reply_id, '_bbp_anonymous_email', true ) )
      		$retval = true;
      
      	return apply_filters( 'bbp_is_reply_anonymous', $retval );
      }
      
      /**
       * Output the author of the reply
       *
       * @since bbPress (r2667)
       *
       * @param int $reply_id Optional. Reply id
       * @uses bbp_get_reply_author() To get the reply author
       */
      

Comments are closed.