“Uncaught Error: Syntax error, unrecognized expression: a[href=#scroll-top]”
Thanks to the WordPress core developers team it is not only possible but even simple. The only special thing you need to know is the WordPress option name.
In order to change some WordPress option value for the user, user role, date, time, post, etc. use proposed code snippet as the starting point. The code sample below automatically replaces global WordPress administrator email
admin_email option value with own email of the current user with “Administrator” role. Just insert this code to your active theme functions.php file in order it starts working: