WordPress.org

Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/debug fopen

Description

Open the file handle for debugging.

This function is used for XMLRPC feature, but it is general purpose enough to be used in anywhere.

Note: This function is no longer present.

Usage

<?php debug_fopen$filename$mode ); ?>

Parameters

$filename
(string) (required) File path to debug file.
Default: None
$mode
(string) (required) Same as fopen() mode parameter.
Default: None

Return Values

(bool) 
resource

Change Log

Since: 0.71

Source File

debug_fopen() is located in wp-includes/functions.php