-
-
Save searchwpgists/7054e1c23fc42501a2a60f7b1bd35fef to your computer and use it in GitHub Desktop.
Change the debug log directory in SearchWP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Change the debug log directory in SearchWP. | |
add_filter( 'searchwp\debug\dir', function( $dir ) { | |
// NOTE: Make sure permissions are correct for this directory. | |
return '/var/logs/searchwp-debug-logs'; | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment