do_action( ‘comment_form_comments_closed’ )

In this article

Fires after the comment form if comments are closed.

Description

For backward compatibility, this action also fires if comment_form() is called with an invalid post object or ID.

Source

do_action( 'comment_form_comments_closed' );

Changelog

VersionDescription
3.0.0Introduced.

User Contributed Notes

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