wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



comments_open › WordPress Filter Hooks

Da2.5.0
Deprecaton/a
apply_filters( 'comments_open', $comments_open, $post_id )
Parametri: (2)
  • (bool) $comments_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', $comments_open, $post_id );