Core Function
View Source on Trac ↗ the_permalink()
the_permalink( mixed $post = 0 ) Displays the permalink for the current post.
Parameters 1 required
| Name / Type | Description |
|---|---|
| (int | | WP_Post) $post Optional. Post ID or post object. Default is the global `$post`. Required |
Return Value
(void)
No return value description available.
Function Information
Since Version
1.2.0
Source File
wp-includes/link-template.php
Advertisement