Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
6 views
ago in Plugins by

Hi,
I’m working with a Question2Answer site and I’m using an existing plugin that displays user profile information. I want to extend this plugin so it can read and display a custom user field stored in the Q2A database.

Specifically:

  • Which plugin hook or layer method should be used to access custom user fields?

  • Is it better to query the database directly or use Q2A’s built-in user APIs?

  • Where in the plugin structure should this logic be placed to follow best practices?

I’m looking for a practical example or advice from someone who has done this before. Thanks in advance.

Please log in or register to answer this question.

...