edit_post_link
POST LINK TAG
What It Does
If a user with permissions to edit a post is logged in, edit_post_link will display a link to edit the post in the admin area. edit_post_link must be used within The Loop.
Code
<?php edit_post_link(‘anchor’, ‘before’, ‘after’); ?>
Achor
The anchor text to use for the link.
Before
What text to be displayed before the link.
After
What text to be displayed after the link.
Example
The default usage is as follows:
<?php edit_post_link(); ?>
The link can be customized as follows:
<?php edit_post_link(‘Edit This Post’, ‘<strong>’, ‘</strong>’); ?>




