WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #36921


Ignore:
Timestamp:
05/23/2016 05:00:56 PM (4 years ago)
Author:
DrewAPicture
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36921 – Description

    initial v1  
    1 phpDocumentor doesn't support WordPress hooks out of the box. Our answer to this problem is using specially-formatted inline `@see` tags in DocBlocks which the [https://github.com/WordPress/phpdoc-parser parser] recognizes at hooks and parses them into internal Code Reference links.
     1phpDocumentor 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 [https://github.com/WordPress/phpdoc-parser parser] recognizes as hooks and parses them into internal Code Reference links.
    22
    33Many hooks are already given this treatment throughout core, but there are lots of others that aren't.