2020-05-02 / 4026阅 / 悠然
Retrieves the full permalink for the current post or post ID.
This function is an alias for get_permalink().
Top ↑
(int|WP_Post)
(Optional)
Post ID or post object. Default is the global $post.
(bool)
(Optional)
Whether to keep post name or page name.
Default value: false
(string|false) The permalink URL or false if post does not exist.