Skip to:
Content
Pages
Categories
Search
Top
Bottom

  • About
  • News
  • Codex
  • Develop
  • Make
  • Forums
  • Download

BuddyPress.org


  • All Members 3,660,492
  • RSS
  • Profile picture of rando

    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 redirecting

    thanks…

  • Profile picture of Thorn Kather

    Thorn Kather's profile was updated 6 years, 2 months ago

    Thorn Kather

    @thornkather

    View Profile
  • Profile picture of plastic guards

    plastic guards's profile was updated 6 years, 2 months ago

    plastic guards

    @archpla73

    View Profile
  • Profile picture of Jarred Duke

    Jarred Duke's profile was updated 6 years, 2 months ago

    Jarred Duke

    @jarredtduke

    View Profile
  • Profile picture of Oxyphen Keto XR Reviews

    Oxyphen Keto XR Reviews's profile was updated 6 years, 2 months ago

    Oxyphen Keto XR Reviews

    @oxyphenkexr

    View Profile
  • Profile picture of Axi Review - Axi The Trading Company And Platform Reviewed

    Axi Review – Axi The Trading Company And Platform Reviewed's profile was updated 6 years, 2 months ago

    Axi Review - Axi The Trading Company And Platform Reviewed

    @axitraderreview

    View Profile
  • Profile picture of armstonlydia

    armstonlydia's profile was updated 6 years, 2 months ago

    armstonlydia

    @armstonlydia

    View Profile
  • Profile picture of marketing1co

    marketing1co's profile was updated 6 years, 2 months ago

    marketing1co

    @marketing1co

    View Profile
  • Profile picture of Emergency Vet

    Emergency Vet's profile was updated 6 years, 2 months ago

    Emergency Vet

    @emergencyvet

    View Profile
  • Profile picture of Situs Taruhan Slot Game QQ1221

    Situs Taruhan Slot Game QQ1221's profile was updated 6 years, 2 months ago

    Situs Taruhan Slot Game QQ1221

    @qq1221link

    View Profile
  • Profile picture of wagyu brisket

    wagyu brisket's profile was updated 6 years, 2 months ago

    wagyu brisket

    @chophous65

    View Profile
  • Profile picture of tecco diamond

    tecco diamond's profile was updated 6 years, 2 months ago

    tecco diamond

    @teccodiamond

    View Profile
  • Profile picture of Vincent Bilodeau

    Vincent Bilodeau's profile was updated 6 years, 2 months ago

    Vincent Bilodeau

    @shewitle46

    View Profile
  • Profile picture of Wild Hope Therapy

    Wild Hope Therapy's profile was updated 6 years, 2 months ago

    Wild Hope Therapy

    @therapistkansascity

    View Profile
  • Profile picture of sashaalbero8

    sashaalbero8's profile was updated 6 years, 2 months ago

    sashaalbero8

    @sashaalbero8

    View Profile
  • Profile picture of Max Potter

    Max Potter's profile was updated 6 years, 2 months ago

    Max Potter

    @maxpotter3

    View Profile
  • Profile picture of herbatjohn

    herbatjohn's profile was updated 6 years, 2 months ago

    herbatjohn

    @herbatjohn

    View Profile
  • Profile picture of business security

    business security's profile was updated 6 years, 2 months ago

    business security

    @protecto63

    View Profile
  • Profile picture of Scaffolding Rental

    Scaffolding Rental's profile was updated 6 years, 2 months ago

    Scaffolding Rental

    @scaffoldingrental

    View Profile
  • Profile picture of Evie Lowe

    Evie Lowe's profile was updated 6 years, 2 months ago

    Evie Lowe

    @evieslowe

    View Profile
  • Load More

WordPress.org bbPress.org BuddyPress.org Matt Blog RSS

GPL Contact Us Privacy Terms of Service X

Skip to toolbar
    • WordPress.org
      • About WordPress
      • Documentation
      • Support Forums
      • Feedback
      • Developer Trac
      • Developer Blog
    • bbPress.org
      • About bbPress
      • Documentation
      • Support Forums
      • Feedback
      • Developer Trac
      • Developer Blog
    • BuddyPress.org
      • About BuddyPress
      • Documentation
      • Support Forums
      • Feedback
      • Developer Trac
      • Developer Blog
  • Log in
  • Anonymous
    • AnonymousNot Logged In
    • Register
    • Log In