PHP documentation in WordPress mostly takes the form of either formatted blocks of documentation or inline comments. What Should Be Documented # What Should Be Documented This does not mean we are attempting to be “PSR-5 compliant” at this time, it simply means that we’ve adopted PSR-5 recommendations in part. In some special cases – such as WordPress’ implementation of hash notations – standards are derived from the draft PSR-5 recommendations.
WordPress uses a customized documentation schema that draws inspiration from PHPDoc, an evolving standard for providing documentation to PHP code, which is maintained by phpDocumentor. Description (formerly Long Description).