Switch language

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




get_comments_link [ WordPress Function ]

get_comments_link ( $post_id = 0 )
Parameters:
  • (int) $post_id Optional post id
Returns:
  • (string) The link to the comments
Defined at:



Retrieves the link to the current post comments.

Source


<?php
function get_comments_link($post_id 0) {
    return 
get_permalink($post_id) . '#comments';
}
?>

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