[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-content/themes/twentynineteen/inc/ -> helper-functions.php (summary)

Common theme functions

File Size: 163 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 6 functions

  twentynineteen_can_show_post_thumbnail()
  twentynineteen_image_filters_enabled()
  twentynineteen_get_avatar_size()
  twentynineteen_is_comment_by_post_author()
  twentynineteen_get_discussion_data()
  twentynineteen_hsl_hex()

Functions
Functions that are not part of a class:

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.


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 colors.




Generated: Sat Aug 15 01:00:03 2020 Cross-referenced by PHPXref 0.7.1