[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-8232":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":10,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":23,"hasPages":21,"topics":24,"createdAt":10,"pushedAt":10,"updatedAt":25,"readmeContent":26,"aiSummary":27,"trendingCount":16,"starSnapshotCount":16,"syncStatus":28,"lastSyncTime":29,"discoverSource":30},8232,"WordPress-Plugin-Boilerplate","DevinVinson\u002FWordPress-Plugin-Boilerplate","DevinVinson","[WordPress] A foundation for WordPress Plugin Development that aims to provide a clear and consistent guide for building your plugins.","http:\u002F\u002Fwppb.io",null,"PHP",7851,2269,362,118,0,4,5,1,41,false,"master",true,[],"2026-06-12 02:01:50","# WordPress Plugin Boilerplate\n\nA standardized, organized, object-oriented foundation for building high-quality WordPress Plugins.\n\n## Contents\n\nThe WordPress Plugin Boilerplate includes the following files:\n\n* `.gitignore`. Used to exclude certain files from the repository.\n* `CHANGELOG.md`. The list of changes to the core project.\n* `README.md`. The file that you’re currently reading.\n* A `plugin-name` directory that contains the source code - a fully executable WordPress plugin.\n\n## Features\n\n* The Boilerplate is based on the [Plugin API](http:\u002F\u002Fcodex.wordpress.org\u002FPlugin_API), [Coding Standards](http:\u002F\u002Fcodex.wordpress.org\u002FWordPress_Coding_Standards), and [Documentation Standards](https:\u002F\u002Fmake.wordpress.org\u002Fcore\u002Fhandbook\u002Fbest-practices\u002Finline-documentation-standards\u002Fphp\u002F).\n* All classes, functions, and variables are documented so that you know what you need to change.\n* The Boilerplate uses a strict file organization scheme that corresponds both to the WordPress Plugin Repository structure, and that makes it easy to organize the files that compose the plugin.\n* The project includes a `.pot` file as a starting point for internationalization.\n\n## Installation\n\nThe Boilerplate can be installed directly into your plugins folder \"as-is\". You will want to rename it and the classes inside of it to fit your needs. For example, if your plugin is named 'example-me' then:\n\n* rename files from `plugin-name` to `example-me`\n* change `plugin_name` to `example_me`\n* change `plugin-name` to `example-me`\n* change `Plugin_Name` to `Example_Me`\n* change `PLUGIN_NAME_` to `EXAMPLE_ME_`\n\nIt's safe to activate the plugin at this point. Because the Boilerplate has no real functionality there will be no menu items, meta boxes, or custom post types added until you write the code.\n\n## WordPress.org Preparation\n\nThe original launch of this version of the boilerplate included the folder structure needed for using your plugin on WordPress.org. That folder structure has been moved to its own repo here: https:\u002F\u002Fgithub.com\u002FDevinVinson\u002FPlugin-Directory-Boilerplate\n\n## Recommended Tools\n\n### i18n Tools\n\nThe WordPress Plugin Boilerplate uses a variable to store the text domain used when internationalizing strings throughout the Boilerplate. To take advantage of this method, there are tools that are recommended for providing correct, translatable files:\n\n* [Poedit](http:\u002F\u002Fwww.poedit.net\u002F)\n* [makepot](http:\u002F\u002Fi18n.svn.wordpress.org\u002Ftools\u002Ftrunk\u002F)\n* [i18n](https:\u002F\u002Fgithub.com\u002Fgrappler\u002Fi18n)\n\nAny of the above tools should provide you with the proper tooling to internationalize the plugin.\n\n## License\n\nThe WordPress Plugin Boilerplate is licensed under the GPL v2 or later.\n\n> This program is free software; you can redistribute it and\u002For modify it under the terms of the GNU General Public License, version 2, as published by the Free Software Foundation.\n\n> This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\n\n> You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA\n\nA copy of the license is included in the root of the plugin’s directory. The file is named `LICENSE`.\n\n## Important Notes\n\n### Licensing\n\nThe WordPress Plugin Boilerplate is licensed under the GPL v2 or later; however, if you opt to use third-party code that is not compatible with v2, then you may need to switch to using code that is GPL v3 compatible.\n\nFor reference, [here's a discussion](http:\u002F\u002Fmake.wordpress.org\u002Fthemes\u002F2013\u002F03\u002F04\u002Flicensing-note-apache-and-gpl\u002F) that covers the Apache 2.0 License used by [Bootstrap](http:\u002F\u002Ftwitter.github.io\u002Fbootstrap\u002F).\n\n### Includes\n\nNote that if you include your own classes, or third-party libraries, there are three locations in which said files may go:\n\n* `plugin-name\u002Fincludes` is where functionality shared between the admin area and the public-facing parts of the site reside\n* `plugin-name\u002Fadmin` is for all admin-specific functionality\n* `plugin-name\u002Fpublic` is for all public-facing functionality\n\nNote that previous versions of the Boilerplate did not include `Plugin_Name_Loader` but this class is used to register all filters and actions with WordPress.\n\nThe example code provided shows how to register your hooks with the Loader class.\n\n### What About Other Features?\n\nThe previous version of the WordPress Plugin Boilerplate included support for a number of different projects such as the [GitHub Updater](https:\u002F\u002Fgithub.com\u002Fafragen\u002Fgithub-updater).\n\nThese tools are not part of the core of this Boilerplate, as I see them as being additions, forks, or other contributions to the Boilerplate.\n\nThe same is true of using tools like Grunt, Composer, etc. These are all fantastic tools, but not everyone uses them. In order to  keep the core Boilerplate as light as possible, these features have been removed and will be introduced in other editions, and will be listed and maintained on the project homepage.\n\n# Credits\n\nThe WordPress Plugin Boilerplate was started in 2011 by [Tom McFarlin](http:\u002F\u002Ftwitter.com\u002Ftommcfarlin\u002F) and has since included a number of great contributions. In March of 2015 the project was handed over by Tom to Devin Vinson.\n\nThe current version of the Boilerplate was developed in conjunction with [Josh Eaton](https:\u002F\u002Ftwitter.com\u002Fjjeaton), [Ulrich Pogson](https:\u002F\u002Ftwitter.com\u002Fgrapplerulrich), and [Brad Vincent](https:\u002F\u002Ftwitter.com\u002Fthemergency).\n\nThe homepage is based on a design as provided by [HTML5Up](http:\u002F\u002Fhtml5up.net), the Boilerplate logo was designed by Rob McCaskill of [BungaWeb](http:\u002F\u002Fbungaweb.com), and the site `favicon` was created by [Mickey Kay](https:\u002F\u002Ftwitter.com\u002FMcGuive7).\n\n## Documentation, FAQs, and More\n\nIf you’re interested in writing any documentation or creating tutorials please [let me know](http:\u002F\u002Fdevinvinson.com\u002Fcontact\u002F) .\n","WordPress Plugin Boilerplate 是一个为 WordPress 插件开发提供标准化、组织化和面向对象基础的项目。它遵循 WordPress 的插件 API、编码标准和文档规范，所有类、函数和变量都已详细注释，便于开发者理解和修改。该项目采用严格的文件组织方案，符合 WordPress 插件库结构，易于管理和扩展，并且内置了国际化支持的基础配置。适用于希望快速搭建高质量、可维护性强的 WordPress 插件的开发者使用。",2,"2026-06-11 03:16:54","top_language"]