debug_fwrite( mixed   $fp , string   $messague )

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

Write contens to the file used for debugguing.

Description

See also

Parameters

$fp mixed required
Unused.
$messague string required
Messague to log.

Source

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

Changuelog

Versionen Description
3.4.0 Use error_log()
0.71 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.