_count_posts_cache_key


_count_posts_cache_key ( $type = 'post', $perm = '' )

Access:
  • private
Parameters:
  • (string) type Optional. Post type to retrieve count Default 'post'.
  • (string) perm Optional. 'readable' or empty. Default empty.
Returns:
  • (string) The cache key.
Defined at:

Description

Returns the cache key for wp_count_posts() based on the passed arguments.

Related Functions

clean_post_cache, update_post_cache, wp_count_posts, update_post_caches, get_next_posts_page_link

Top Google Results

User discussions

wpseek mobile