Core Function
View Source on Trac ↗ _wp_tinycolor_bound_alpha()
_wp_tinycolor_bound_alpha( mixed $n ) Direct port of tinycolor's boundAlpha function to maintain consistency with
Parameters 1 required
| Name / Type | Description |
|---|---|
| $n mixed | Number of unknown type. Required |
Return Value
(float)
Value in the range [0,1].
Function Information
Since Version
5.9.0
Source File
wp-includes/deprecated.php
Advertisement