Skip to main content
6 of 9
Improved the title, edited for clarity
MikeSchinkel
  • 37.5k
  • 14
  • 116
  • 132

##First Use Existing Functions in WordPress Core

If you can: use existing functions including in WordPress core instead of writing your own. Only develop custom PHP functions when there is not an appropriate pre-existing function in WordPress core.

One benefit is you can use "log deprecated notices" to easily monitor functions that should be replaced. Another benefit is users can view the function documentation in the Codex and better understand what the plugin does even if they are not an experienced PHP developer.

###Related

kaiser
  • 50.8k
  • 27
  • 150
  • 244