Created 1.3. Plugin Classes Sub-directory (markdown)
parent
856587573d
commit
b1f5268a45
22
1.3.-Plugin-Classes-Sub-directory.md
Normal file
22
1.3.-Plugin-Classes-Sub-directory.md
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
# `class/` Root Files
|
||||||
|
|
||||||
|
Important files are highlighted in **bold** text.
|
||||||
|
|
||||||
|
| File Name | Description |
|
||||||
|
|------|-------------|
|
||||||
|
| `config.php` | Defines various constants (@todo rename to something more accurate). |
|
||||||
|
| `convert.php` | Provides various conversion functions. |
|
||||||
|
| `hooks.php` | Registers actions with various WordPress hooks. |
|
||||||
|
| **`init.php`** | Defines the Plugin object. |
|
||||||
|
| `language.php` | Loads translation settings. |
|
||||||
|
| **`settings.php`** | Defines the various Plugin settings. |
|
||||||
|
| **`task.php`** | Provides the core function of the Plugin. |
|
||||||
|
| `templates.php` | Loads the various template files. |
|
||||||
|
| `wysiwyg.php` | Provides integration with the WordPress WYSIWYG editor. |
|
||||||
|
|
||||||
|
# `class/` Sub-directories
|
||||||
|
|
||||||
|
| Dir. Name | Description |
|
||||||
|
|------|-------------|
|
||||||
|
| `dashboard/` | Contains the files that handle dashboard page construction. |
|
||||||
|
| `widgets/` | Contains the files that handle widget construction. |
|
Reference in a new issue