WordPress at a glance
function is not described

debug_fwrite() WP 0.71

Deprecated in 3.4.0. It is no longer supported and can be removed in future releases. Use error_log() instead.

Write contents to the file used for debugging.

  • See: error_log()

No Hooks.

Return

Nothing (null).

Usage

debug_fwrite( $fp, $string );
$fp(mixed) (required)
Unused.
$string(string) (required)
Message to log.

Code of debug fwrite: wp-includes/deprecated.php VER 5.0.3

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