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() );
}

Changelog

Changelog
Version Description
3.7.4 Introduced.


User Contributed Notes

You must log in before being able to contribute a note or feedback.