[buddypress-trac] [BuddyPress] #5317: Add xprofile field Vibility "Admin only"

buddypress-trac noreply at wordpress.org
Fri Jan 3 19:39:36 UTC 2014

#5317: Add xprofile field Vibility "Admin only"
 Reporter:  megainfo                             |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
Component:  XProfile                             |  Review
 Severity:  normal                               |     Version:  1.9.1
 Keywords:  has-patch 2nd-opinion reporter-      |  Resolution:
  feedback                                       |

Comment (by boonebgorges):

 Well, technically, it could be done by filtering
 `bp_xprofile_get_hidden_fields_for_user`, and reproducing some of the
 logic in `bp_xprofile_get_hidden_field_types_for_user()` in your own
 plugin. But this is pretty cumbersome, of course, and I don't see any harm
 in adding the filter.

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5317#comment:7>
BuddyPress <http://buddypress.org/>

More information about the buddypress-trac mailing list