Return to Snippet

Revision: 68087
at November 25, 2014 22:38 by muydelpalo


Initial Code
function delete_comment_link($id) {
    if (current_user_can('edit_post')) {
        echo '| <a href="'.get_bloginfo('wpurl').'/wp-admin/comment.php?action=cdc&c='.$id.'">borrar</a> ';
        echo '| <a href="'.get_bloginfo('wpurl').'/wp-admin/comment.php?action=cdc&dt=spam&c='.$id.'">spam</a>';
    }
}

Initial URL

                                

Initial Description
Wordpress

Initial Title
spam & delete links for comments

Initial Tags

                                

Initial Language
PHP