get_the_a_z_listing( array|string|WP_Query|A_Z_Listing $query = null, bool $use_cache = true )

Returns the index of posts ordered and segmented alphabetically


Description


Parameters

$query

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

Default value: null

$use_cache

(bool) (Optional) use the plugin's in-built query cache.

Default value: true


Return

(string) The listing html content ready for echoing to the page.


Source

File: functions/helpers.php

function get_the_a_z_listing( $query = null ) {
	return a_z_listing_cache( $query )->get_the_listing();
}

Changelog

Changelog
VersionDescription
0.8.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.