bbp_get_topic

  • apply_filters( 'bbp_get_topic', $topic, $output, $filter )

    Source Reference:

    • Component: bbPress :: bbp-topic
      File: /bbp-includes/bbp-topic-template.php :: Trac Source Line: 416
      		$_topic = get_object_vars( $topic );
      		return $_topic;
      
      	} elseif ( $output == ARRAY_N ) {
      		$_topic = array_values( get_object_vars( $topic ) );
      		return $_topic;
      
      	}
      
      	return apply_filters( 'bbp_get_topic', $topic, $output, $filter );
      }
      
      /**
       * Output the link to the topic in the topic loop
       *
       * @since bbPress (r2485)
       *
       * @param int $topic_id Optional. Topic id
       * @uses bbp_get_topic_permalink() To get the topic permalink
       */
      

Comments are closed.