new filterable post_types function and cleaner get_post_types() usage
Merge pull request #6 from mrwweb/post_type_filter

new filterable post_types function and cleaner get_post_types() usage