Glossary Term
get_post_permalink()
3 tags
1 category
get_post_permalink() — Retrieves the permalink for a post of a custom post type.
Inputs: $post (int|WP_Post): Optional. Post ID or post object. Default is the global $post. $leavename (bool): Optional. Whether to keep post name. Default false. $sample (bool): Optional. Is it a sample permalink. Default false.
Returns string|false: The post permalink URL. False if the post does not exist.
Term Connections
Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.
Loading term connections…
