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: partials/a-z-listing.php

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

Changelog

Changelog
Version Description
0.7 Introduced.


User Contributed Notes

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

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