0

Can you help me about how to create the best WordPress settings for plugins?

I have a custom setting page and I need to create some field with WordPress API.

Actually I use this solution: https://gist.github.com/DavidWells/4653358 (* it's working fine) but I think it is not enough and optimizes, I just need your the standard guideline and your recommended(in this time — WP v5.4.2).

I appreciate your advice,

Thanks.

3
  • 1
    Best for what? Please explain your specific problem better. And welcome to WordPress Stack Exchange! – fuxia Jun 16 '20 at 15:19
  • I mean plugin settings fields(an options for plugin): deliciousbrains.com/create-wordpress-plugin-settings-page (not page) – Gabriel Jun 16 '20 at 16:28
  • "Best" is extremely subjective. If your code works, you understand it and can maintain it comfortably, then it's the best for you. The exact same code might be a nightmare for another person. – fuxia Jun 16 '20 at 17:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.