The default WP comes with some awesome features like 'post-formats' and 'post-thumbnails'. When you declare that your theme supports these features you can add another parameter to define which areas of WP these will apply on. example:
Now, I have added some other features in my theme and by using require_if_theme_supports load them in the WP. How can my registered theme_features accept parameter like the default post-thumbnails and 'post-formats' do?