forked from DevinVinson/WordPress-Plugin-Boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 1
Content
Moisés Barrachina Planelles edited this page Oct 4, 2023
·
2 revisions
- /admin -> administration folder
- /includes -> global folder, for administration and plublic files
- /languages -> translation files, this binarian files are made with programs like Poedit
- /private -> for sensitive data that only a download script can send the file to the user
- /admin -> public folder
- /css -> CSS files
- /img -> images
- /js -> JavaScript files
- /lib -> library, the internal BFT files are stored here
- /partials -> frontend files
- /includes/class-your-plugin.txt -> main class of the plugin
- /includes/class-your-plugin-activator.php -> control when the plugin is activated
- /includes/class-your-plugin-deactivator.php -> control when the plugin is deactivated
- /includes/class-your-plugin-cronjobs.php -> control the cronjobs of the plugin
- /includes/class-your-plugin-install-upgrade-deinstall-database.php -> install and erase the plugin database
- /includes/class-your-plugin-functions-admin-public.php -> class with functions for admin and public classes, it's an extension of the BFT admin-public class
- /admin/class-your-plugin-admin.php -> class for the admin section, it's an extension of the BFT admin-public class, your admin-public class and BFT admin class
- /public/class-your-plugin-public.php -> class for the public section, it's an extension of the BFT admin-public class, your admin-public class and BFT public class