Recent

get_tptn_total_countfunction

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

Type Name Description
int|\WP_Post $post Post ID or WP_Post object.
int $blog_id Blog ID.

Returns

int — Post count