Will this work for custom post types?
No! It will not work with custom post types. The names of the hooks used in custom post are specific and depend on the name of your custom post, as are the names of taxonomies used in your custom post. Thus this plugin cannot be made generic. However it can be easily modified to add additional code to suit your specific custom post types.