AnsPress_Query::total_count( string $key )

Description #

Count total numbers of rows found.

Parameters #

  • $key
    string (Required) MD5 hashed key.

Source #

File: includes/class-query.php

	public function total_count( $key ) {
		global $wpdb;
		$this->total_count = $wpdb->get_var( apply_filters( 'ap_found_rows', 'SELECT FOUND_ROWS()', $this ) ); // phpcs:ignore WordPress.DB
	}

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add your comment