bbp_get_reply_status

  • apply_filters( 'bbp_get_reply_status', get_post_status( $reply_id ), $reply_id )

    Source Reference:

    • Component: bbPress :: bbp-reply
      File: /bbp-includes/bbp-reply-template.php :: Trac Source Line: 694
      	 *
      	 * @param int $reply_id Optional. Reply id
      	 * @uses bbp_get_reply_id() To get the reply id
      	 * @uses get_post_status() To get the reply status
      	 * @uses apply_filters() Calls 'bbp_get_reply_status' with the reply id
      	 * @return string Status of reply
      	 */
      	function bbp_get_reply_status( $reply_id = 0 ) {
      		$reply_id = bbp_get_reply_id( $reply_id );
      		return apply_filters( 'bbp_get_reply_status', get_post_status( $reply_id ), $reply_id );
      	}
      
      /**
       * Is the reply not spam or deleted?
       *
       * @since bbPress (r3496)
       *
       * @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
      

Comments are closed.