[wp-trac] [WordPress Trac] #27070: Additional argument or filter for submit_button function

WordPress Trac noreply at wordpress.org
Sat Feb 8 11:17:38 UTC 2014


#27070: Additional argument or filter for submit_button function
-------------------------+-----------------------------
 Reporter:  wpidiots     |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  General      |    Version:  3.8.1
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 submit_button function should have an additional argument $class so we can
 add additional classes to the button or filter on $classes array in
 get_submit_button() function

 I know that we can use $wrap as workaround but if I want to add, for
 instance, "right" class to the submit button I am not able to.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27070>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list