- %1$s is private and should not be used in themes or plugins directly.
wp_tinycolor_bound01 ( $n, $max )
- (mixed) n Number of unknown type.
- (int) max Upper value of the range to bound to.
- (float) Value in the range [0, 1].
- Introduced in WordPress: 5.8.0
- Deprecated in WordPress: —
Takes input from [0, n] and returns it as [0, 1].Direct port of TinyColor's function, lightly simplified to maintain
consistency with TinyColor.