Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




get_edit_comment_link [ WordPress Function ]

get_edit_comment_link ( $comment_id = 0 )
Parameters:
Returns:
  • (string)
Defined at:



Retrieve edit comment link.

Source


<?php
function get_edit_comment_link$comment_id ) {
    
$comment = &get_comment$comment_id );

    if ( !
current_user_can'edit_comment'$comment->comment_ID ) )
        return;

    
$location admin_url('comment.php?action=editcomment&amp;c=') . $comment->comment_ID;
    return 
apply_filters'get_edit_comment_link'$location );
}
?>

Examples [ wp-snippets.com ]

Google Arama Sonuçlarý

Dahasý ...

Kullanýcý Tartýþmalarý [ wordpress.org ]

- Bulunamadý -

Yeni bir konu yaz ...

0 User Note(s)

Henüz yok. Ýlk sen ol!

Yeni Ekle ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics