0

I want to create a settings page for my custom plugin.I searched it on google but I couldn't find a good resource.There are some generator but they don't help me.

Can you give me an example code or good resource? Simply, I want to write an number to field on admin panel and save it after click save button.

1
2

Settings pages can be done in one of two ways. First, you can use the built-in settings/options UI. Second, you can create your own. I recommend using the built-in UI.

@PatJ is right on the money: the Plugin Handbook is a great resource and the Codex is another. The plugin handbook has a Quick Reference that has some example.

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.