apply_filters( 'the_permalink', string $permalink , int|WP_Post $post )
Filters the display of the permalink for the current post.
Parameters
Source
Changelog
Version | Description |
---|---|
WP-4.4.0 | Added the $post parameter. |
WP-1.5.0 | Introduced. |