Skip to:
Content
Pages
Categories
Search
Top
Bottom

Create profile fields visible only to administrator

  • @carmelneta

    Participant

    hey,
    Trying to create a profile fields of a user that will be visible to adim only.
    so far I`ve tried to use the current_user_can wp function in the The Profile Data Loop, but it didn`t go so well.
    Any ides?

    Thanks,
    Carmel.

Viewing 3 replies - 1 through 3 (of 3 total)
  • @rogercoathup

    Participant

    What was the problem you encountered with your approach?

    Paste your code, and let us know the error messages, and someone may be able to assist.

    @scal3x

    Participant

    While looking for a solution to the same question, I stumbled upon this: dev update. Boone B. Gorges made a “sample plugin to show how these visibility levels can be extended”: BBG’s Sample Visibility Plugin. All you have to do is create a new folder in your wp-content/plugins, and upload bbg-custom-bp-field-visibility.php & loader.php into your new folder. Then, modify bbg-custom-bp-field-visibility.php to your liking.

    @jomilla

    Participant

    Thanks so much scal3x!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Create profile fields visible only to administrator’ is closed to new replies.
Skip to toolbar