BuddyPress compatibility with DAP (Digital Access Pass) Plugin – If I remove this function, what hap
-
Hello BuddyPress community, I am writing here because I’ve installed the paid DAP plugin for WP and it appears to have a conflict w/ BuddyPress that their development team cannot seem to solve. I think I have found the issue but I am not a programmer so I wanted to ask for your advice to find out what the implications of my fix will be. There is a function in the BP default theme functions.php that if removed, fixes the DAP problem. If the function is added back in, DAP breaks. Here’s the function…
/* Load the activity stream template if settings allow */
function bp_dtheme_page_on_front_template( $template ) {
global $wp_query;if ( empty( $wp_query->post->ID ) )
return locate_template( array( ‘activity/index.php’ ), false );
else
return $template;
}
add_filter( ‘page_template’, ‘bp_dtheme_page_on_front_template’ );Can someone please advise me of the implications of what will happen if I remove this function entirely?
Thanks very much for your time
- The topic ‘BuddyPress compatibility with DAP (Digital Access Pass) Plugin – If I remove this function, what hap’ is closed to new replies.