Use PHP 7.4 featers and PHP 8 polyfills
This commit is contained in:
@ -16,7 +16,7 @@ defined('ABSPATH') || exit;
|
||||
* @param array $data Content.
|
||||
* @return void
|
||||
*/
|
||||
function wu_generate_csv($file_name, $data = array()) {
|
||||
function wu_generate_csv($file_name, $data = []) {
|
||||
|
||||
$fp = fopen('php://output', 'w');
|
||||
|
||||
|
Reference in New Issue
Block a user