Easy method fore registering custom post type added