-
rando started the topic how can i modify this code for buddypress ? in the forum Installing BuddyPress 6 years, 2 months ago
function bpfr_hide_admins_profile() {
global $bp;
if(bp_is_profile && $bp->displayed_user->id == 1 && $bp->loggedin_user->id != 1) :
wp_redirect( home_url() );
exit;
endif;
}
add_action( ‘wp’, ‘bpfr_hide_admins_profile’, 1 );i want a redirect code to a url
&
i want a code for echo a message without redirectingthanks…
-
Thorn Kather's profile was updated 6 years, 2 months ago
-
plastic guards's profile was updated 6 years, 2 months ago
-
Jarred Duke's profile was updated 6 years, 2 months ago
-
Oxyphen Keto XR Reviews's profile was updated 6 years, 2 months ago
-
Axi Review – Axi The Trading Company And Platform Reviewed's profile was updated 6 years, 2 months ago
-
armstonlydia's profile was updated 6 years, 2 months ago
-
marketing1co's profile was updated 6 years, 2 months ago
-
Emergency Vet's profile was updated 6 years, 2 months ago
-
Situs Taruhan Slot Game QQ1221's profile was updated 6 years, 2 months ago
-
wagyu brisket's profile was updated 6 years, 2 months ago
-
tecco diamond's profile was updated 6 years, 2 months ago
-
Vincent Bilodeau's profile was updated 6 years, 2 months ago
-
Wild Hope Therapy's profile was updated 6 years, 2 months ago
-
sashaalbero8's profile was updated 6 years, 2 months ago
-
Max Potter's profile was updated 6 years, 2 months ago
-
herbatjohn's profile was updated 6 years, 2 months ago
-
business security's profile was updated 6 years, 2 months ago
-
Scaffolding Rental's profile was updated 6 years, 2 months ago
-
Evie Lowe's profile was updated 6 years, 2 months ago
- Load More