bbp_is_reply_trash

  • apply_filters( 'bbp_is_reply_trash', bbp_get_trash_status_id() == $reply_status, $reply_id )

    Source Reference:

    • Component: bbPress :: bbp-reply
      File: /bbp-includes/bbp-reply-template.php :: Trac Source Line: 739
       * @since bbPress (r2884)
       *
       * @param int $reply_id Optional. Topic id
       * @uses bbp_get_reply_id() To get the reply id
       * @uses bbp_get_reply_status() To get the reply status
       * @return bool True if spam, false if not.
       */
      function bbp_is_reply_trash( $reply_id = 0 ) {
      	$reply_status = bbp_get_reply_status( bbp_get_reply_id( $reply_id ) );
      	return apply_filters( 'bbp_is_reply_trash', bbp_get_trash_status_id() == $reply_status, $reply_id );
      }
      
      /**
       * Is the reply by an anonymous user?
       *
       * @since bbPress (r2753)
       *
       * @param int $reply_id Optional. Reply id
       * @uses bbp_get_reply_id() To get the reply id
       * @uses bbp_get_reply_author_id() To get the reply author id
      

Comments are closed.