A_Z_Listing::get_the_letter_title( string $index = '' )

Return the title of the current letter. For example, upper-case A or B or C etc. This is not escaped!


Description


Parameters

$index

(string) (Optional) The index for which to return the title.

Default value: ''


Return

(string) The letter title


Source

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

	public function get_the_letter_title() {
		return self::$alphabet[ $this->available_indices[ $this->current_letter_index - 1 ] ];
	}

Changelog

Changelog
VersionDescription
1.8.0Add filters to modify the title of the letter.
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.