Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: wp_trigger_error_run

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
6051       *
6052       * Can be used for debug backtracking.
6053       *
6054       * @since 6.4.0
6055       *
6056       * @param string $function_name The function that was called.
6057       * @param string $message       A message explaining what has been done incorrectly.
6058       * @param int    $error_level   The designated error type for this error.
6059       */
6060      do_action( 'wp_trigger_error_run', $function_name, $message, $error_level );
6061
6062      if ( ! empty( $function_name ) ) {
6063           $message = sprintf( '%s(): %s', $function_name, $message );
6064      }
6065
6066      $message = wp_kses(
6067           $message,
6068           array(
6069                'a' => array( 'href' ),