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 ]

Top Google zoekresultaten

Meer ...

Gebruikersdiscussies [ wordpress.org ]

0 User Note(s)

Nog geen één. Wees de eerste!

Nieuw toevoegen ...



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