WordPress.org

Ready to get started?Download WordPress

Codex

Function Reference/debug fopen

Contents

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