Why?
Who will use your plugin?
BeginnersPower UsersDevelopers
10 Ways to Build a Developer
Friendly WordPress Plugin
1. GitHub / GitLabIssue Management
Pull Requests
2. Add Hooks
Actions Filters
ActionsRun code at a specific time or event
add_action()
do_action()
FiltersModify data being returned
add_filter()
apply_filters()
3. Coding StandardsWordPress PHP Coding StandardsPlugin HandbookPHPDocsPHPCS (Code sniffer)PHP PSR-x Standards
WordPress Standards
Plugin Handbook
PHPDocs
Code Sniffer (PHPCS)
4. OOPExtendsImplementsAbstractsAvoid method name collisionsOrganization and Reuse
5. Develop with Debug
6. Translations (18n).po & .pot files
7. Unit Testing
8. get_by… with a little help from my friends.
ID, Title, Slug, Meta
9. Deprecate Methods
_deprecated_function()
Bump Minor Version
10. Semantic Versioning
Major.Minor.Patch (4.7.2)
Major Version
Major or Breaking Changes
Minor Version
New Functionality(Backwards Compatible)
Patch Version
Bug Fixes(Backwards Compatible)
About MeMike HaleDeveloperRainmaker Digital
@MikeHalewww.mikehale.me