Update CustomEE4FunctionsPlugin.php

updated to work post-gwrw