This function has been deprecated. Use astra_check_current_post_comment_enabled() instead.
is_current_post_comment_enabled()
Deprecating is_current_post_comment_enabled function.
Description
Checking if current post’s comment enabled and comment section is open.
See also
Return
(bool) true|false
Source
File: inc/core/deprecated/deprecated-functions.php
function is_current_post_comment_enabled() { return ( is_singular() && comments_open() ); }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
3.7.4 | Introduced. |