Habari\InstallHandler::create_base_comment_types PHP Метод

create_base_comment_types() приватный Метод

Create the base core comment types and statuses
    private function create_base_comment_types()
    {
        Comment::add_type('comment');
        Comment::add_type('pingback');
        Comment::add_type('trackback');
        Comment::add_status('unapproved', true);
        Comment::add_status('approved', true);
        Comment::add_status('spam', true);
        Comment::add_status('deleted', true);
        return true;
    }