bp_forums_template_directory_forums_setup

  • apply_filters( 'bp_forums_template_directory_forums_setup', 'forums/index' ) )

    Source Reference:

    • Component: BuddyPress :: bp-forums
      File: /bp-forums/bp-forums-screens.php :: Trac Source Line: 68
      			}	 else {
      				bp_core_add_message( __( 'Please pick the group forum where you would like to post this topic.', 'buddypress' ), 'error' );
      				bp_core_redirect( add_query_arg( 'new', '', bp_get_forum_directory_permalink() ) );
      			}
      		}
      
      		do_action( 'bp_forums_directory_forums_setup' );
      
      		bp_core_load_template( apply_filters( 'bp_forums_template_directory_forums_setup', 'forums/index' ) );
      	}
      }
      add_action( 'bp_screens', 'bp_forums_directory_forums_setup', 2 );
      
      function bp_member_forums_screen_topics() {
      	global $bp;
      
      	do_action( 'bp_member_forums_screen_topics' );
      
      	bp_core_load_template( apply_filters( 'bp_member_forums_screen_topics', 'members/single/home' ) );
      

Comments are closed.