Collection of single markdown files for each post type on WordPress Developer Resources:
- Block Editor Handbook as wp-blocks-handbook.md
- Theme Handbook as wp-theme-handbook.md
- Plugin Handbook as wp-plugin-handbook.md
- Common APIs Handbook as wp-apis-handbook.md
- Advanced Administration Handbook as wp-adv-admin-handbook.md
- REST API Handbook as wp-rest-api-handbook.md
- WordPress Coding Standards Handbook as wp-wpcs-handbook.md
- Secure Custom Fields Handbook as wp-scf-handbook.md
- WordPress user documentation as wp-articles.md
Extracted from REST API of each site using custom PHP CLI scripts.
Note:
- Links to the URLs of the same content type are converted to anchor links using path as the anchor name/ID.
Copy the desired markdown files to your project directory and use them during AI prompts as desired.
Run php parser.php --update
to fetch updated content over WP REST API (sorted by modified
date).
- Consider including the
wp-parser-(function|class|hook|method)
content types.
- We're using PHPUnit 9 because test case filenames must match the class names in later versions (don't support
class-
prefixed used by WP).
-
Tooling created by Kaspars (@konstruktors) and contributors.
-
All origin content licensed under respective licenses.