Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // 2 function a same
- //Instead of features_revert, please use scmp_base_features_revert
- //- it does the same thing, but is faster as it ensures the feature
- //and feature components are only reverted once per request, thanks.
- scmp_base_features_revert(
- array('scmp_content_types' => array('field_base', 'field_instance'))
- );
- features_revert(array(
- 'scmp_content_types' => array('field_base', 'field_group', 'field_instance', 'variable'),
- ));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement