wp_php_error_args

wp_php_error_args

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('wp_php_error_args') is found 1 times:

  • /wp-includes/class-wp-fatal-error-handler.php line 235
    		 * @param array $args Associative array of arguments passed to `wp_die()`. By default these contain a
    		 *                    'response' key, and optionally 'link_url' and 'link_text' keys.
    		 * @param array $error Error information retrieved from `error_get_last()`.
    		 */
    		$args = apply_filters( 'wp_php_error_args', $args, $error );
    
    		$wp_error = new WP_Error(
    			'internal_server_error',
    			$message,
    			array(
    				'error' => $error,