ss_debug_log_file
How to use: add_filter()
Included in: Simply Static Core/Free 3.2.0+
Overview
The ss_debug_log_file filter allows you to modify the location of Simply Static's debug.txt file. It includes the current path as a parameter.
Example
The following code snippet moved the debug.txt file to the tmp path in your root directory.
add_filter('ss_debug_log_file', function( $debug_file_path ) { // Get filename from path. $filename = basename( $debug_file_path ); return '/tmp/' . $filename; });