Do I need to use hook_views_data like a custom table?
closed as unclear what you're asking by Pierre.Vriens, Adrian Cid Almaguer, DRUPWAY, kiamlaluno♦ May 4 '17 at 11:44
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
Actually, this can be done within the Views UI by selecting the user:data field and then choosing a key.
You need to first add relationship with 'author' in the view and accordingly you will get the user data fields which you can use in your fields as well as in filters.