The idea is that you should do the preg_replace() only if the slug is used. Since it isn't very expensive, you can just do:

```
array(
  'label' => preg_replace( '/_|-/', ' ', strtolower( $slug ),
  ...
)
```