A_Z_Listing::have_items()

Used by theme templates. Returns true when we still have items/posts within the current letter.


Description

To advance the letter use A_Z_Listing::the_letter() To advance the item/post use A_Z_Listing::the_item()


Return

(bool) True if there are posts left to iterate within the current letter, otherwise false.


Source

File: classes/class-a-z-listing.php

	public function have_items() {
		return ( is_array( $this->current_letter_items ) && count( $this->current_letter_items ) > $this->current_item_index );
	}

Changelog

Changelog
VersionDescription
1.0.0Introduced.

More Information

You are currently logged out. To view tickets you must first login.

I have read and understood the Terms of Service



User Contributed Notes

Leave a Reply

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