get_default_comment_status

get_default_comment_status

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.4.3

apply_filters('get_default_comment_status') is found 1 times:

  • /wp-includes/comment.php line 315
    	 *                             either 'open' or 'closed'.
    	 * @param string $post_type    Post type. Default is `post`.
    	 * @param string $comment_type Type of comment. Default is `comment`.
    	 */
    	return apply_filters( 'get_default_comment_status', $status, $post_type, $comment_type );
    }
    
    /**
     * Retrieves the date the last comment was modified.
     *
     * @since 1.5.0