debug_fopen()WP 0.71

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

Open the file handle for debugging.

No Hooks.

Return

false. Always false.

Usage

debug_fopen( $filename, $mode );
$filename(string) (required)
File name.
$mode(string) (required)
Type of access you required to the stream.

Notes

  • See: error_log()

Changelog

Since 0.71 Introduced.
Deprecated since 3.4.0 Use error_log()

debug_fopen() code WP 6.5.2

function debug_fopen( $filename, $mode ) {
	_deprecated_function( __FUNCTION__, '3.4.0', 'error_log()' );
	return false;
}