It might be clearer to understand if we made the permission checks explicit:

```php
if (groups_can_create_group()) {
    elgg_register_title_button();
}
```

Of course this adds a few lines, but when I see a function called "groups_register_create_button", I expect it to *always* register a button.