Fix for – Parse error: syntax error, unexpected T_FUNCTION

T_FUNCTION error is caused when an obsolete version of PHP is used in hosting.

PHP versions below 5.5 are declared unsupported by PHP itself and have come to “End of Life”.

If your website is hosted on a server that is using a PHP version lower than 5.6, please contact your hosting company to upgrade the PHP version to 5.6 or greater. This is recommended by WordPress itself –