groups_template_group_forum_topic

  • apply_filters( 'groups_template_group_forum_topic', 'groups/single/home' ) )

    Source Reference:

    • Component: BuddyPress :: bp-groups
      File: /bp-groups/bp-groups-screens.php :: Trac Source Line: 323
      				bp_core_load_template( apply_filters( 'groups_template_group_forum_topic_edit', 'groups/single/home' ) );
      			}
      
      			// Standard topic display
      			else {
      				if ( !empty( $user_is_banned ) )
      					bp_core_add_message( __( "You have been banned from this group.", 'buddypress' ) );
      
      				bp_core_load_template( apply_filters( 'groups_template_group_forum_topic', 'groups/single/home' ) );
      			}
      
      		// Forum topic does not exist
      		} elseif ( !empty( $topic_slug ) && empty( $topic_id ) ) {
      			bp_do_404();
      			return;
      
      		} else {
      			// Posting a topic
      			if ( isset( $_POST['submit_topic'] ) && bp_is_active( 'forums' ) ) {
      

Comments are closed.