A_Z_Listing::get_the_permalink()

Return the permalink of the current post. This is not escaped!


Description


Return

(string) The permalink


Source

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

	public function get_the_permalink() {
		$item = $this->current_item['item'];
		if ( $item instanceof WP_Term ) {
			return get_term_link( $this->current_item['item'] );
		}
		return get_permalink( $item );
	}

Changelog

Changelog
Version Description
1.0.0 Introduced.


User Contributed Notes

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