learndash_hex2rgb( string $color, float|int|boolean $opacity = false )
Converts the hex color values to rgb.
Description Description
Parameters Parameters
- $color
-
(Required) Color value in hex format.
- $opacity
-
(Optional) The opacity of color.
Default value: false
Return Return
(string) Color value in rgb format.
Source Source
File: themes/ld30/includes/helpers.php
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |