I found this function and have tried to use “bp_is_current_component” and changed it out with “bp_is_register_page” but got an error. (code inserted below)
function members_is_private_page() {
$is_private = true;
if ( function_exists( ‘bp_is_current_component’ ) && ( bp_is_current_component( ‘register’ ) || bp_is_current_component( ‘activate’ ) ) )
$is_private = false;`
Any help would be greatly appreciated.
-
This reply was modified 3 years, 10 months ago by jcorder02.