[buddypress-trac] [BuddyPress Trac] #7126: [BP Nouveau Request] create functions to get the component's button args

buddypress-trac noreply at wordpress.org
Thu Jun 16 13:46:28 UTC 2016


#7126: [BP Nouveau Request] create functions to get the component's button args
---------------------------------+---------------------------------
 Reporter:  imath                |      Owner:
     Type:  enhancement          |     Status:  new
 Priority:  normal               |  Milestone:  Under Consideration
Component:  Component - Any/All  |    Version:  1.2
 Severity:  normal               |   Keywords:
---------------------------------+---------------------------------
 Today the functions generating the buttons for loops or for the user
 profiles are doing something like this:

 `return bp_get_button( apply_filters( 'name_of_filter', $button_args ) );`

 So i have to do some funky stuff to only get the $button_args. Is there an
 objection if we create new functions to get these button args?

 If function names are not great in the attach patch, we can change them to
 whatever you prefer.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7126>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list