/wordpress-org-knowledges:wordpress-code-referencefrom WordPress Developer Docs Search
Search WordPress Code Reference for functions, hooks, classes, and methods. Use when the developer asks about specific WordPress functions, actions, filters, or class implementations. Provides API signatures, descriptions, version information, and source file locations.
Ships in WordPress Developer Docs Search. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
This skill enables searching and retrieving information from the WordPress Code Reference.
Search code references by keywords.
python3 search.py "register_post_type" "wp-parser-function" 5
Arguments:
query (required): Search keywordssubtypes (optional): Comma-separated list of reference typesper_page (optional): Number of results (default: 5)Retrieve details of a specific code reference entry.
python3 get_content.py wp-parser-function 12345
Arguments:
subtype (required): Reference type from search resultsid (required): Document ID from search results| Subtype | Description |
|---|---|
wp-parser-function | WordPress functions (e.g., get_post, wp_insert_post) |
wp-parser-hook | Actions and filters (e.g., init, the_content) |
wp-parser-class | WordPress classes (e.g., WP_Query, WP_Post) |
wp-parser-method | Class methods (e.g., WP_Query::query) |
Code references do not have full content. The get_content script returns:
wp-includes/post.php)For full source code, direct the user to the returned URL.
Run the search script:
python3 search.py "add_action" "wp-parser-function,wp-parser-hook" 5
Output:
[
{
"id": 12345,
"title": "add_action()",
"url": "https://developer.wordpress.org/reference/functions/add_action/",
"subtype": "wp-parser-function"
}
]
Use the ID and subtype from search results:
python3 get_content.py wp-parser-function 12345
Output:
{
"id": 12345,
"title": "add_action()",
"url": "https://developer.wordpress.org/reference/functions/add_action/",
"excerpt": "Adds a callback function to an action hook.",
"since": "1.2.0",
"source_file": "wp-includes/plugin.php"
}
wp-parser-function subtypewp-parser-hook subtypewp-parser-class subtypewp-parser-method subtypewp-parser-functionwp-parser-hookwp-parser-hookwp-parser-classwp-parser-methodAlways provide the URL when:
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub hideokamoto/wordpress-org-knowledges --plugin wordpress-org-knowledges2 skills in this plugin