You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ Generate a string of HTML attributes from the associative array provided.
17
17
If `attr` is an object, then only public properties will be incorporated into the result.
18
18
If a value is an array, its values will be concatenated and delimited with a space.
19
19
Values that cannot be converted into strings will be ignored. If the value is Stringable, Arrayble, or a `Closure`, attempts will be made to parse as a string.
20
-
-`$callback` — Callback function for escaping the values for the HTML attributes.
20
+
-`callback` — Callback function for escaping the values for the HTML attributes.
21
21
If no sanitizer is provided, [`htmlspecialchars()`](http://php.net/htmlspecialchars) is used;
22
22
If using WordPress, the [`esc_attr()`](https://developer.wordpress.org/reference/functions/esc_attr/) function is used.
0 commit comments