Adding custom post type support for writing helper plugin