Uma área de pesquisa sobre o WordPress para devs e autores do tema



get_comments_link ›

Desde3.6.0
Obsoleton/a
apply_filters( 'get_comments_link', $comments_link, $post_id )
Parâmetros: (2)
  • (string) $comments_link Post comments permalink with '#comments' appended.
    Required: Yes
  • (int|WP_Post) $post_id Post ID or WP_Post object.
    Required: Yes
Definido em:
Codex:

Filters the returned post comments permalink.





Fonte

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