Answer: You’ve got it in one. It’s an API Reference that is Dynamic.
The Reference material in WordPress codex – Developer Documentation is currently static; it needs to be updated manually when WordPress is changed.
The Reference material created by WP-Parser for http://developer.wordpress.org/ is partially dynamic; it’s a complete reference of WordPress core – but it doesn’t (yet) allow you to navigate the code.
The solution implemented on this website features:
- Dynamic display of the contents of the code and comments
- Syntax highlighted source code – extracted from the live code.
- Source code includes dynamically created links to called functions and hooks ( actions and filters).
- Display of links for Called by, Invoked by, Calls and Call hooks.
- Links to context
To achieve the above, the code that is being displayed, be it WordPress core, a plugin, or (in the future) a theme needs to have been registered, installed (but not necessarily activated) and parsed.
Note: Each time the a component’s code is changed the parsing process must be re-run to update the “call tree” and “hook association” information stored in the WordPress database.
The solution also supports dynamic display of inline code.
You appear to be a bot. Output may be restricted
$posts = get_posts();
Take a test drive now. Click on the link to get_posts(). Or try something a little simpler by navigating your way through Hello Dolly.