2020-05-01 / 3507阅 / 悠然
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, and revisions.
(int|WP_Post)
(Optional)
Post ID or post object. Default is the global $post.
(string)
(Optional)
How to output the '&' character. Default '&'.
Default value: 'display'
(string|null) The edit post link for the given post. null if the post type is invalid or does not allow an editing UI.