Recent

get_tptn_total_count function

get_tptn_total_count()

Returns the total post count.

Since: 4.0.0
Source: includes/functions.php line 57

Signature

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

Parameters

TypeNameDescription
int|\WP_Post$postPost ID or WP_Post object.
int$blog_idBlog ID.

Returns

int — Post count