Archive | Functions by letter h RSS feed for this section

has_term

Check if the current post has any of given terms.The given terms are checked against the post’s terms’ term_ids, names and slugs. Terms given as integers will only be checked against the post’s terms’ term_ids. If no terms are given, determines if post has any terms.

9794

Continue reading

human_time_diff

Determines the difference between two timestamps.The difference is returned in a human readable format such as “1 hour”, “5 mins”, “2 days”.

1959

Continue reading

html_type_rss

Display the HTML type based on the blog setting.The two possible values are either ‘xhtml’ or ‘html’.

1957

Continue reading