wp_trigger_error_run

wp_trigger_error_run

Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.7

do_action('wp_trigger_error_run') is found 1 times:

  • /wp-includes/functions.php line 6092
    	 * @param string $function_name The function that was called.
    	 * @param string $message       A message explaining what has been done incorrectly.
    	 * @param int    $error_level   The designated error type for this error.
    	 */
    	do_action( 'wp_trigger_error_run', $function_name, $message, $error_level );
    
    	if ( ! empty( $function_name ) ) {
    		$message = sprintf( '%s(): %s', $function_name, $message );
    	}
    
    	$message = wp_kses(