Un motore di ricerca WordPress per sviluppatori e autori di temi



get_comments_link ›

Da3.6.0
Deprecaton/a
apply_filters( 'get_comments_link', $comments_link, $post_id )
Parametri: (2)
  • (string) $comments_link Post comments permalink with '#comments' appended.
    Richiesto:
  • (int|WP_Post) $post_id Post ID or WP_Post object.
    Richiesto:
Definito a:
Codex:

Filters the returned post comments permalink.





Sorgenti

return apply_filters( 'get_comments_link', $comments_link, $post_id );