apply_filters( 'mc_autoclose_comments', $close, $post ) → {bool}
Filter whether event posts should automatically close comments. Default 'true'.
Parameters:
Name | Type | Description |
---|---|---|
$close |
bool | 'true' to close comments. |
$post |
WP_Post | Post object. |
- Source:
Returns:
- Type
- bool