1
source | link

Revert ALL components in feature

$feature = features_get_features('my_feature_machine_name');
$components = array_keys($feature->info['features']);
features_revert(array('my_feature_machine_name' => $components));
    Post Made Community Wiki by Gaydabura