Have i got the right functions file? the one i’ve edited is located in:
It looks correct to me. There must be something else going on or possible hidden character from copy/pasting.
Try replacing the _functions.php with the attached one.
It’s a clean file from v9.2.7 with only the snippet added. Works fine on my end.
If you still have issues then I’d recommend taking a look at your server error log to get an idea where it’s starting or, if you’re able to, turn on WP_DEBUG. (place this snippet right above the
/* That's all, stop editing! Happy blogging. */ in the wp-config.php file:
Copyright © 2010-2020 PremiumPress Limited.