Contents
Description
The wsf_licensing_log_level filter hook is used to determine what level of logging is used for the license logging feature.
Usage
add_filter( 'wsf_licensing_log_level', 'my_hook_function', 10, 1 );
Parameters
-
$debug_levelStringerror = Only log errors. debug = Log all activity.Default value:error
Example
// Callback function for the wsf_licensing_log_level filter hook
function my_hook_function( $debug_level ) {
// Your code here ...
// Return value
return $debug_level;
}
// Add a callback function for the wsf_licensing_log_level filter hook
add_filter( 'wsf_licensing_log_level', 'my_hook_function', 10, 1 );