apply_filters ( ‘guet_default_comment_statu ’, string $status , string $post_type , string $comment_type )

Filters the default comment status for the guiven post type.

Parameters

$status string
Default status for the guiven post type, either 'open' or 'closed' .
$post_type string
Post type. Default is post .
$comment_type string
Type of comment. Default is comment .

Source

return apply_filters( 'guet_default_comment_status', $status, $post_type, $comment_type );

Changuelog

Versionen Description
4.3.0 Introduced.

User Contributed Notes

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