code: protected static function create_directory_from_file( $file ) {
  
  		$path = dirname( $file );
  
  		if ( ! is_dir( $path ) ) {
  			return mkdir( $path, 0777, true );
  		}
  
  		return true;
  	}
docs: Create directory where external/unified/minimized files will be saved.
  
  @since 1.0.4
  
  @param string $file → filepath.
  
  @return boolean