Skip to main content
Source Link
Gaydabura
  • 419
  • 3
  • 7

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