wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



comments_open › Filtr WordPress Hooks

Od2.5.0
Przestarzałyn/a
› apply_filters( 'comments_open', $comments_open, $post_id )
Parametry: (2)
  • () comments_open Whether the current post is open for comments.
    Wymagane: Tak
  • () post_id The post ID.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters whether the current post is open for comments.





Źródło

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