On this page
debug_fopen( string $filename, string $mode ): false
This function has been deprecated. Use error_log() instead.
Open the file handle for debugging.
Description
See also
Parameters
$filenamestring Required-
File name.
$modestring Required-
Type of access you required to the stream.
Return
false Always false.
Source
File: wp-includes/deprecated.php. View all references
function debug_fopen( $filename, $mode ) {
_deprecated_function( __FUNCTION__, '3.4.0', 'error_log()' );
return false;
}
Related
Uses
| Uses | Description |
|---|---|
| _deprecated_function() wp-includes/functions.php | Marks a function as deprecated and inform when it has been used. |
Changelog
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/debug_fopen