Revert feature programatically
// Revert individual components of one or more Features. features_revert(array('module' => array('component'))); // Revert all components of a single Feature. features_revert_module('my_module');