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

Get the current letter ID


Description


Parameters

$query

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

Default value: null


Return

(String) the current letter ID


Source

File: functions/helpers.php

function get_the_a_z_letter_id( $query = null ) {
	return a_z_listing_cache( $query )->get_the_letter_id();
}

Changelog

Changelog
VersionDescription
0.7Introduced.

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.