Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
141 views
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.

by
edited by
chatgpt can provide the exact answers that you are looking for.

However, there is already an option available to create custom fields in the profile through Admin options >> Users >>Extra fields on user pages or registration form

1 Answer

0 votes
ago by
If you have not yet found a solution I can help you with custom plugin development here

https://www.question2answer.org/qa/121512/ill-be-taking-custom-jobs-orders-for-q2a
...