Write contents to the file used for debugging.
Description
See also
Parameters
$fp
mixedrequired- Unused.
$message
stringrequired- Message to log.
Source
function debug_fwrite( $fp, $message ) {
_deprecated_function( __FUNCTION__, '3.4.0', 'error_log()' );
if ( ! empty( $GLOBALS['debug'] ) )
error_log( $message );
}
User Contributed Notes
You must log in before being able to contribute a note or feedback.