Site logo

Archived topic

check whether comments is enabled/disabled

3 replies · Started by Marco on May 19, 2019

Viewing posts 1–4 of 4

hello
I was wondering whether there is a function that would allow me to check whether posting comments is enabled/disabled something like: get_option( 'comments_posts' )...

Thanks in advance for your input.

Thanks Tom - I've looked into that page already and I was wondering whether it is kind of outdated - I don't see any option key to check whether posting comments is allowed or not - what's also confusing is that in WP you can actually enable/disable comments globally -> for future posts but there is also a setting on a post level - now idea how to get that setting

This archived topic is closed to new replies.