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

buddypress-trac noreply at wordpress.org
Fri Jan 3 16:48:12 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 megainfo):

 It ca'nt be done by plugins or with the current version because there is
 any filter in bp_xprofile_get_hidden_field_types_for_user() to filter the
 $hidden_levels array values.

 this why i suggeseted added a this filter

 {{{
 return apply_filters( 'bp_xprofile_get_hidden_field_types_for_user',
 $hidden_levels, $displayed_user_id, $current_user_id );

 }}}

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


More information about the buddypress-trac mailing list