bbp_get_topic_reply_count_hidden

  • apply_filters( 'bbp_get_topic_reply_count_hidden', (int) $replies, $topic_id )

    Source Reference:

    • Component: bbPress :: bbp-topic
      File: /bbp-includes/bbp-topic-template.php :: Trac Source Line: 1814
      	 * @uses get_post_meta() To get the hidden reply count
      	 * @uses apply_filters() Calls 'bbp_get_topic_reply_count_hidden' with
      	 *                        the hidden reply count and topic id
      	 * @return int Topic hidden reply count
      	 */
      	function bbp_get_topic_reply_count_hidden( $topic_id = 0 ) {
      		$topic_id = bbp_get_topic_id( $topic_id );
      		$replies  = get_post_meta( $topic_id, '_bbp_reply_count_hidden', true );
      
      		return apply_filters( 'bbp_get_topic_reply_count_hidden', (int) $replies, $topic_id );
      	}
      
      /**
       * Output total voice count of a topic
       *
       * @since bbPress (r2567)
       *
       * @param int $topic_id Optional. Topic id
       * @uses bbp_get_topic_voice_count() To get the topic voice count
       */
      

Comments are closed.