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
See also
Source
File: wp-includes/deprecated.php
function permalink_link() {
_deprecated_function( __FUNCTION__, '1.2.0', 'the_permalink()' );
the_permalink();
}
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
| Version | Description |
|---|---|
| 1.2.0 | Use the_permalink() |
| 0.71 | Introduced. |