Used By
Used By | Description |
---|---|
wp-includes/link-template.php: get_permalink() | Retrieves the full permalink for the current post or post ID. |
Filters the permalink structure for a post before token replacement occurs.
Only applies to posts with post_type of ‘post’.
(string) The site's permalink structure.
(WP_Post) The post in question.
(bool) Whether to keep the post name.
Version | Description |
---|---|
3.0.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/pre_post_link