Un motore di ricerca WordPress per sviluppatori e autori di temi



comments_open ›

Da2.5.0
Deprecaton/a
apply_filters( 'comments_open', $open, $post_id )
Parametri: (2)
  • (bool) $open Whether the current post is open for comments.
    Richiesto:
  • (int) $post_id The post ID.
    Richiesto:
Definito a:
Codex:

Filters whether the current post is open for comments.





Sorgenti

return apply_filters( 'comments_open', $open, $post_id );