W3cubDocs

/WordPress

permalink_link()

This function has been deprecated. Use the_permalink() instead.

Print the permalink of the current post in the loop.

Description

See also

Source

File: wp-includes/deprecated.php

function permalink_link() {
	_deprecated_function( __FUNCTION__, '1.2.0', 'the_permalink()' );
	the_permalink();
}

Changelog

Version Description
1.2.0 Use the_permalink()
0.71 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/permalink_link