Skip to content

Commit e63a6ab

Browse files
authored
Update readme.md
1 parent 4afae05 commit e63a6ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ The plugin will do nothing, so you're able to start developing your functionalit
2020
### The functions.php file
2121
The `functions.php` in the root of the plugin can be used almost like a `functions.php` of a theme. It was built to make easy to anyone familiar with WordPress theme functions to get started. Just put your hooks and callbacks there, and it should work!
2222

23-
### OOP
23+
### OOP: Object Oriented Programming
2424
The plugin structure comes with a basic folder structure based on modern PHP development. The folder `/src` is where classes and interfaces should be, subdivided by "domains". For example, the structure comes with `/src/meta-boxes`, in that folder classes related to meta boxes will be placed, like meta box creation helpers, custom meta boxes registrations, etc.
2525

2626
But, we could have a different approach, understanding domains as a different thing, we could group all classes related to a specific functionality together, even if it means we'll end with classes that deal with meta boxes, custom post types, API's, etc. in the same folder.

0 commit comments

Comments
 (0)