Return to Snippet

Revision: 34876
at October 29, 2010 11:15 by chendrix


Initial Code
<?php if(current_user_can('edit_posts', $post_id) || current_user_can('edit_others_posts')) :
 edit_post_link('Edit', '', ''); endif; ?>

Initial URL


Initial Description
Wordpress creates an anchor with a class .post-edit-link for styling

Initial Title
Wordpress Dynamic Edit Link

Initial Tags
wordpress

Initial Language
PHP