Support » Plugins » Hacks » debug a plugin running in the admin menu

  • Resolved ddeconin

    (@ddeconin)


    What are the best waus to debug a plugin running in the admin piece of wordpress ( on post create ) ?

    I tried

    $myFile = ALD_mostrecent_DIR . "/logFile.txt" ;
    $fh = fopen($myFile, 'a') or die("can't open file");
    $stringData = "test";
    fwrite($fh, $stringData);

    Inside my plugin but it doesnt seem to write things out ?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘debug a plugin running in the admin menu’ is closed to new replies.