epl_get_post_count

Post Count

Since
2.2.0
3.4.38 PHP 8.0 fix.
3.5.29 Fix: SQL injection. Post types are limited to registered ones and passed as prepared placeholders.
3.6 Fix: Slow query. The second agent meta is only joined when counting an author's listings, on the property_second_agent key, instead of every meta row of every listing.
Parameters
string $type

The type.

#
string $meta_key

The meta key.

#
string $meta_value

The meta value.

#
string $author_id = ''

The author identifier.

#
Returns
null