Skip to content

Instantly share code, notes, and snippets.

@ryanduff ryanduff/gist:6252657 forked from tw2113/gist:6247414
Last active Dec 21, 2015

Embed
What would you like to do?
<?php
function log_it( $logme ) {
$log = WP_CONTENT_DIR . '/log_it.log';
file_put_contents( $log, print_r( $logme, true ), FILE_APPEND );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.