This function has been deprecated. Use error_log() instead.

debug_fwrite( mixed $fp, string $string )

Write contents to the file used for debugging.


Description

See also


Parameters

$fp

(mixed) (Required) Unused.

$string

(string) (Required) Message to log.


Source

File: wp-includes/deprecated.php

function debug_fwrite( $fp, $string ) {
	_deprecated_function( __FUNCTION__, 'WP-3.4.0', 'error_log()' );
	if ( ! empty( $GLOBALS['debug'] ) )
		error_log( $string );
}


Changelog

Changelog
Version Description
WP-3.4.0 Use error_log()
WP-0.71 Introduced. This function has been deprecated. Use error_log() instead.