[buddypress-trac] [BuddyPress Trac] #7670: Let user pass additional param to edit_field_html() to show/hide form labels

buddypress-trac noreply at wordpress.org
Sat Jan 27 13:56:20 UTC 2018


#7670: Let user pass additional param to edit_field_html() to show/hide form
labels
------------------------------+------------------------------
 Reporter:  hnla              |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  low               |   Milestone:  Awaiting Review
Component:  Extended Profile  |     Version:
 Severity:  minor             |  Resolution:
 Keywords:                    |
------------------------------+------------------------------

Comment (by antonioeatgoat):

 What about this?

 {{{#!php
 public function edit_field_html( array $raw_properties = array(), array
 $args = array() ) {
     ....
     ....
 }
 }}}

 Where `$args` can contain both of the parameters and it remains flexible
 for eventual new future parameters.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7670#comment:5>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list