Menu
wpseek
mobile
Search
rest_parse_hex_color
rest_parse_hex_color
(
$color
)
Parameters:
(string)
color
3 or 6 digit hex color (with #).
Returns:
(string|false)
Defined at:
wp-includes/rest-api.php
, line 1197
Introduced in WordPress:
5.4.0
Deprecated in WordPress:
—
Description
Parses a 3 or 6 digit hex color (with #).
Related Functions
rest_parse_date
,
sanitize_hex_color
,
rest_parse_embed_param
,
maybe_hash_hex_color
,
wp_parse_auth_cookie
Top Google Results
User discussions
More ...
New topic ...
wpseek
mobile
Recently added
6
wp_embed_no_robots
wp_robots
wp_robots_no_robots
wp_robots_noindex
wp_robots_sensitive_page
wp_strict_cross_origin_referrer
My Bookmarks
- Soon -
About
Imprint
Privacy Policy