have_a_z_items( array|string|WP_Query|A_Z_Listing $query = null )

Replies whether the query has any posts left for the current letter


Description


Parameters

$query

(array|string|WP_Query|A_Z_Listing) (Optional) a valid WordPress query or an A_Z_Listing instance

Default value: null


Return

(bool) whether there are still posts available


Source

File: partials/a-z-listing.php

function have_a_z_items( $query = null ) {
	return a_z_listing_cache( $query )->have_items();
}

Changelog

Changelog
Version Description
0.8.0 Introduced.


User Contributed Notes

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