Recent

get_tptn_post_count_onlyfunction

get_tptn_post_count_only()

Returns the post count.

Since: 1.9.8.5
Source: includes/functions.php line 45

Signature

function get_tptn_post_count_only( $post = ..., $count = ..., $blog_id = ... ): int;

Parameters

Type Name Description
int|\WP_Post $post Post ID or WP_Post object.
string $count Which count to return? total, daily or overall.
int $blog_id Blog ID.

Returns

int — Post count