How to get custom user meta by id in custom Gutenberg block
Unfortunately, this is not documented at all. It took a while for me to get the answer by inspecting the code, and it is: in browser console you can test at first: wp.data.select(‘core’).getUser(1,{context:’view’}) where 1 is ID of the user. You can also omit context, to get all meta data available from REST, or give … Read more