Documentation

QueryCount extends WP_Query
in package

Get the count of WP_Query resultset instead of all the rows.

Table of Contents

Methods

__construct()  : mixed
C'tor.
count()  : mixed
post_limits()  : mixed
posts_orderby()  : mixed
posts_request()  : mixed
pre_get_posts()  : mixed

Methods

__construct()

C'tor.

public __construct([array<string|int, string> $args = [] ]) : mixed
Parameters
$args : array<string|int, string> = []

post_limits()

public post_limits(mixed $limits) : mixed
Parameters
$limits : mixed

posts_orderby()

public posts_orderby(mixed $orderby) : mixed
Parameters
$orderby : mixed

posts_request()

public posts_request(mixed $request) : mixed
Parameters
$request : mixed

pre_get_posts()

public pre_get_posts(mixed $q) : mixed
Parameters
$q : mixed

        
On this page

Search results