Clarify `submit_button()` `$type` parameter docs to mention that the value doubles as the CSS class attribute.
See #27070 Built from https://develop.svn.wordpress.org/trunk@27135 git-svn-id: http://core.svn.wordpress.org/trunk@27002 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7e969d706e
commit
de97319ad8
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue