apply_filters( 'get_default_comment_status', string $status, string $post_type, string $comment_type )

Filters the default comment status for the given post type.

Description Description

Parameters Parameters


(string) Default status for the given post type, either 'open' or 'closed'.


(string) Post type. Default is post.


(string) Type of comment. Default is comment.

Top ↑

Source Source

File: wp-includes/comment.php

View on Trac

Top ↑

Changelog Changelog

Version Description
4.3.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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