mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Clarify submit_button() $type parameter docs to mention that the value doubles as the CSS class attribute.
See #27070 git-svn-id: https://develop.svn.wordpress.org/trunk@27135 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1618,7 +1618,8 @@ function compression_test() {
|
||||
* @since 3.1.0
|
||||
*
|
||||
* @param string $text The text of the button (defaults to 'Save Changes')
|
||||
* @param string $type The type of button. One of: primary, secondary, delete
|
||||
* @param string $type Optional. The type and CSS class(es) of the button. Core values
|
||||
* include 'primary', 'secondary', 'delete'. Default 'primary'
|
||||
* @param string $name The HTML name of the submit button. Defaults to "submit". If no id attribute
|
||||
* is given in $other_attributes below, $name will be used as the button's id.
|
||||
* @param bool $wrap True if the output button should be wrapped in a paragraph tag,
|
||||
|
||||
Reference in New Issue
Block a user