Used By
Used By | Description |
---|---|
wp-includes/link-template.php: the_permalink() | Displays the permalink for the current post. |
wp-includes/comment-template.php: comment_form() | Outputs a complete commenting form for use within a template. |
Filters the display of the permalink for the current post.
the_permalink
is a filter applied to the permalink URL for a post prior to printing by the function the_permalink().
Note: The output of the functions get_permalink() or get_the_permalink() is not filtered.
Version | Description |
---|---|
4.4.0 | Added the $post parameter. |
1.5.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/the_permalink