2020-05-01 / 3441阅 / 悠然
Retrieves the delete posts link for post.
Can be used within the WordPress loop or outside of it, with any post type.
(int|WP_Post)
(Optional)
Post ID or post object. Default is the global $post.
(string)
(Optional)
Not used.
Default value: ''
(bool)
(Optional)
Whether to bypass Trash and force deletion.
Default value: false
(string|void) The delete post link URL for the given post.