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

permalink_link() WordPress Function

The permalink_link() function in WordPress allows you to get the permalink for a post or page. This function takes one parameter, which is the post or page ID.

permalink_link() #

Print the permalink of the current post in the loop.


Description

Top ↑

See also


Top ↑

Source

File: wp-includes/deprecated.php

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


Top ↑

Changelog

Changelog
VersionDescription
1.2.0Use the_permalink()
0.71Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More