Posted By

muydelpalo on 11/25/14


Tagged

functionsphp


Versions (?)

spam & delete links for comments


 / Published in: PHP
 

Wordpress

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

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: Addu on February 1, 2019

Many many thanks to the author for such knowledgeable article, download dvd player windows 10 Here on our website you will get the best dvd player online video software in full hd.

You need to login to post a comment.