- Timestamp:
- 09/25/2024 06:06:27 PM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentynineteen/inc/helper-functions.php
r49602 r59090 33 33 * 34 34 * @see get_comment_class() 35 * 36 * @param WP_Comment|null $comment The comment object to check. Defaults to the current comment. 37 * @return bool True if the comment is by the author of the post, false otherwise. 35 38 */ 36 39 function twentynineteen_is_comment_by_post_author( $comment = null ) { … … 83 86 84 87 /** 85 * Converts HSL to HEX colors. 88 * Converts HSL to HEX or RGB colors. 89 * 90 * @param float $h The hue component (0-360). 91 * @param float $s The saturation component (0-100). 92 * @param float $l The lightness component (0-100). 93 * @param bool $to_hex Whether to convert to HEX format (true) or RGB (false). Default true. 86 94 */ 87 95 function twentynineteen_hsl_hex( $h, $s, $l, $to_hex = true ) {
Note: See TracChangeset
for help on using the changeset viewer.