Hi Designoahu,
I’m just copying these lines to my functions.php and it works well, but from this point if I want to save anything in the theme editor (slightly modified default theme) it just drops error messages like this:
Warning: Cannot modify header information – headers already sent by (output started at /…/petroff.hu/wp-content/themes/default/functions.php:418) in /…/petroff.hu/wp-admin/theme-editor.php on line 55
Could you help to solve this issue? Thanks in advance, Peter