Glossary Term
get_edit_post_link()
3 tags
1 category
get_edit_post_link() — Retrieves the edit post link for post. Can be used within the WordPress loop or outside of it. Can be used with pages, posts, attachments, revisions, global styles, templates, and template parts.
Inputs: $post (int|WP_Post): Optional. Post ID or post object. Default is the global $post. $context (string): Optional. How to output the ‘&’ character. Default ‘&’.
Returns string|null: The edit post link for the given post. Null if the post type does not exist or does not allow an editing UI.
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…
