wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



debug_fwrite › WordPress Function

Da0.71
Deprecato3.4.0
debug_fwrite ( $fp, $message )
Parametri: (2)
  • (mixed) $fp Unused.
    Richiesto:
  • (string) $message Message to log.
    Richiesto:
Links:
Vedi:
  • error_log()
Definito a:
Codex:

Write contents to the file used for debugging.



Sorgenti

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