Uses
Uses | Description |
---|---|
wp-includes/functions.php: _deprecated_function() | Mark a function as deprecated and inform when it has been used. |
This function has been deprecated. Use error_log() instead.
Write contents to the file used for debugging.
(mixed) (Required) Unused.
(string) (Required) Message to log.
File: wp-includes/deprecated.php
function debug_fwrite( $fp, $string ) { _deprecated_function( __FUNCTION__, '3.4.0', 'error_log()' ); if ( ! empty( $GLOBALS['debug'] ) ) error_log( $string ); }
Version | Description |
---|---|
3.4.0 | Use error_log() |
0.71 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/debug_fwrite