| [ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Source view] [Print] [Project Stats]
Common theme functions
| File Size: | 174 lines (4 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
| twentynineteen_can_show_post_thumbnail() X-Ref |
| Determines if post thumbnail can be displayed. |
| twentynineteen_image_filters_enabled() X-Ref |
| Returns true if image filters are enabled on the theme options. |
| twentynineteen_get_avatar_size() X-Ref |
| Returns the size for avatars used in the theme. |
| twentynineteen_is_comment_by_post_author( $comment = null ) X-Ref |
| Returns true if comment is by author of the post. return: bool True if the comment is by the author of the post, false otherwise. param: WP_Comment|null $comment The comment object to check. Defaults to the current comment. |
| twentynineteen_get_discussion_data() X-Ref |
| Returns information about the current post's discussion, with cache support. |
| twentynineteen_hsl_hex( $h, $s, $l, $to_hex = true ) X-Ref |
| Converts HSL to HEX or RGB colors. param: float $h The hue component (0-360). param: float $s The saturation component (0-100). param: float $l The lightness component (0-100). param: bool $to_hex Whether to convert to HEX format (true) or RGB (false). Default true. |
| Generated : Wed Jun 17 08:20:09 2026 | Cross-referenced by PHPXref |