#36921 closed task (blessed) (fixed)
Allow hooks referenced inline in Docblocks to be linked
Reported by: | DrewAPicture | Owned by: | DrewAPicture |
---|---|---|---|
Milestone: | 4.6 | Priority: | normal |
Severity: | normal | Version: | |
Component: | General | Keywords: | |
Focuses: | docs | Cc: |
Description (last modified by )
phpDocumentor doesn't support WordPress hooks out of the box. Our answer to this problem is using specially-formatted inline @see
tags, e.g. {@see 'hook_name'}
, in DocBlocks which the parser recognizes as hooks and parses them into internal Code Reference links.
Many hooks are already given this treatment throughout core, but there are lots of others that aren't.
Side note: We used to implement inline @see
links for all functions, classes, and methods, but following #meta1483, known functions, classes, and methods are auto-linked which has freed up the need to handle for those cases within DocBlocks themselves.
Change History (11)
Note: See
TracTickets for help on using
tickets.
In 37536: