LLMS_Abstract_Posts_Query::count_results()

Set result counts and pagination properties.


Return Return

(void)


Top ↑

Source Source

File: includes/abstracts/llms-abstract-posts-query.php

	protected function count_results() {

		$this->number_results = $this->wp_query->post_count;
		$this->found_results  = $this->found_results();
		$this->max_pages      = (int) $this->wp_query->max_num_pages;

	}


Top ↑

Changelog Changelog

Changelog
Version Description
6.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.