bp_get_the_topic_object_id

  • apply_filters( 'bp_get_the_topic_object_id', $forum_template->topic->object_id )

    Source Reference:

    • Component: BuddyPress :: bp-forums
      File: /bp-forums/bp-forums-template.php :: Trac Source Line: 517
      		return apply_filters( 'bp_get_the_topic_poster_name', $name );
      	}
      
      function bp_the_topic_object_id() {
      	echo bp_get_the_topic_object_id();
      }
      	function bp_get_the_topic_object_id() {
      		global $forum_template;
      
      		return apply_filters( 'bp_get_the_topic_object_id', $forum_template->topic->object_id );
      	}
      
      function bp_the_topic_object_name() {
      	echo bp_get_the_topic_object_name();
      }
      	function bp_get_the_topic_object_name() {
      		global $forum_template;
      
      		if ( isset( $forum_template->topic->object_name ) )
      			$retval = $forum_template->topic->object_name;
      

Comments are closed.