Filters the display of the permalink for the current post.
Parameters
Source
echo esc_url( apply_filters( 'the_permalink', get_permalink( $post ), $post ) );
Filters the display of the permalink for the current post.
echo esc_url( apply_filters( 'the_permalink', get_permalink( $post ), $post ) );
You must log in before being able to contribute a note or feedback.
Example migrated from Codex:
Append the query string for the current page to permalink URLs (uses add_query_arg):