Skeleton for WordPress Plugin Boilerplate with Namespace
Changes to be made:
-
Rename files in:
/skeleton-plugin.php
/languages/skeleton-plugin.pot
-
Run Search Replace with Preserve Case:
- @plugin For Plugin Text Domain
skeleton-plugin => your-plugin-name
- @plugin For Plugin Function and filter names
skeleton_plugin => your_plugin_name
- @plugin For Plugin Package
SkeletonPlugin => YourPluginName
- @plugin For Plugin constants
SKELETON_PLUGIN_ => YOUR_PLUGIN_NAME_
- @git_author For Github Author:
boospot => YourAuthorName
- @author For Author Name:
Rao => Your Name
- @author For email:
[email protected] => [email protected]
- @link For Link:
https://booskills.com/rao => https://example.com/you
- Update Plugin Comment Block in main file
/skeleton-plugin.php
- @plugin For Plugin Text Domain
-
After Adding more files as you go, use composer to update autoload if you need to. You shall need to have composer installed on your computer. In Terminal in the plugin directory, run following:
composer update
If you do not want to use composer, download latest version from releases of this repo.