WP OOP Settings API
🛠 WP-OOP-Settings-API is a Settings API wrapper built with Object Oriented Programming practices.
by mrahmadawais, WPTie, deviodigital · github.com/ahmadawais/wp-oop-settings-api · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/ahmadawais/wp-oop-settings-api/archive/refs/heads/master.zipWordPress OOP Settings API
— :point_up: Make sure you :star: and :eyes: this repository!
Ever wanted to build custom settings inside your WordPress plugin or theme and didn't like the non-DRY approach for creating custom settings via WordPress API? Well, that's why and when I wrote this OOP Wrapper for WordPress Settings API. 🎊
Screenshots

TODO:
- [x] Basic Settings Page
- [x] Tabs on Settings Page with JS
- [x] Tabs on Settings Page with JS
- [x] Documentation for code workflow
- [x] Create Field:
text - [x] Create Field:
textarea - [x] Create Field:
url - [x] Create Field:
number - [x] Create Field:
checkbox - [x] Create Field:
multicheck - [x] Create Field:
radio - [x] Create Field:
select - [x] Create Field:
html - [x] Create Field:
wysiwyg - [x] Create Field:
file - [x] Create Field:
image - [x] Create Field:
password - [x] Create Field:
color - [ ] Tutorials
- [ ] Blog post
- [ ] Documentation
- [ ] Re-factor the code with WP Standards
- [ ] Re-factor the code into classes
License
Release under GNU GPL v2.0
Credits
@AhmadAwais, @deviorobert, @MaedahBatool AND @WordPress, @tareq1988, @royboy789, @twigpress.