WordPress V3.xTemplate Tag Reference Guide as of Version 3.x
Presented by:
Edit Link Tags
Edit Bookmark Link edit_bookmark_link();
Displays a link to edit the current bookmark, if the user is logged in and allowed to edit the bookmark. It must be within The Loop.
<?php edit_bookmark_link($link, $before, $after, $bookmark); ?>
$link
String • Default: none
(Optional) The format the time is to display in. Defaults to the time format configured in your WordPress options. See Formatting Date and Time.
$link
String • Default: 'Edit This'
(Optional) The link text.
$before
String • Default: none
(Optional) Text to put before the link text.
$after
String • Default: none
(Optional) Text to put after the link text.
$bookmark
Integer • Default: current bookmark ID
(Optional) Bookmark ID.
Edit Comment Link edit_comment_link();
Displays a link to edit the current comment, if the user is logged in and allowed to edit the comment. It must be within The Loop, and within a comment loop. Use get_edit_comment_link to retrieve the url.
<?php edit_bookmark_link($link, $before, $after?>
$d
String • Default: date format specified in Administration > Settings > General
(Optional) The format the time is to display in. Defaults to the time format configured in your WordPress options. See Formatting Date and Time.
$link
String • Default: 'Edit This'
(Optional) The link text.
$before
String • Default: none
(Optional) Text to put before the link text.
$after
String • Default: none
(Optional) Text to put after the link text.
Edit Post Link edit_post_link();
Displays a link to edit the current post, if a user is logged in and allowed to edit the post. It must be within The Loop. Use get_edit_post_link to retrieve the url.
<?php edit_post_link($link, $before, $after, $id); ?>
$link
String • Default: 'Edit This'
(Optional) The link text.
$before
String • Default: none
(Optional) Text to put before the link text.
$after
String • Default: none
(Optional) Text to put after the link text.
$id
Integer • Default: none.
(Optional) Post ID.
Edit Tag Link edit_tag_link();
Displays a link to edit the current tag, if the user is logged in and allowed to edit the tag. It must be within The Loop. Use get_edit_tag_link to retrieve the url to edit.
<?php edit_post_link($link, $before, $after, $tag); ?>
$link
String • Default: 'Edit This'
(Optional) The link text.
$before
String • Default: none
(Optional) Text to put before the link text.
$after
String • Default: none.
(Optional) Text to put after the link text.
$tag
Integer/Object • Default: Current tag ID
(Optional) Tag object or ID.