Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: debug_information

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
1383            *                                 an associative array that is displayed as name/value pairs.
1384            *         @type string  $debug    Optional. The output that is used for this field when the user copies the data.
1385            *                                 It should be more concise and not translated. If not set, the content of `$value` is used.
1386            *                                 Note that the array keys are used as labels for the copied data.
1387            *         @type boolean $private  Optional. If set to `true` the field will not be included in the copied data
1388            *                                 allowing you to show, for example, API keys here.
1389            *     }
1390            * }
1391            */
1392           $info = apply_filters( 'debug_information', $info );
1393
1394           return $info;
1395      }
1396
1397      /**
1398       * Format the information gathered for debugging, in a manner suitable for copying to a forum or support ticket.
1399       *
1400       * @since 5.2.0
1401       *