Codex tools: Log in
Contents |
Returns URL to move a post to the trash as string value.
Can be used within the WordPress loop or outside of it. Can be used with pages, posts, attachments, and revisions.
<?php echo get_delete_post_link( $id ); ?>
get_delete_post_link() is located in wp-includes/link-template.php
Edit Link: edit_post_link(), edit_comment_link(), edit_tag_link(), edit_bookmark_link(), get_edit_post_link()