plugin updates

This commit is contained in:
Tony Volpe
2024-09-17 10:43:54 -04:00
parent 44b413346f
commit b7c8882c8c
1359 changed files with 58219 additions and 11364 deletions

View File

@@ -86,10 +86,12 @@ final class LoggingUtil {
/**
* Get the directory for storing log files.
*
* @param bool $create_dir Optional. True to attempt to create the log directory if it doesn't exist. Default true.
*
* @return string The full directory path, with trailing slash.
*/
public static function get_log_directory(): string {
return Settings::get_log_directory();
public static function get_log_directory( bool $create_dir = true ): string {
return Settings::get_log_directory( $create_dir );
}
/**