programmer5016
Member
- Jul 19, 2020
- 33
- 12
- 8
Hello Mates,
When I'm adding custom code to functions.php file, it is throwing error. here is the code below
Error:
Please Help me to solve this error
When I'm adding custom code to functions.php file, it is throwing error. here is the code below
PHP:
add_action( 'admin_head-profile.php', 'wpse_72463738_remove_admin_color_scheme_picker' );
wpse_72463738_remove_admin_color_scheme_picker() {
remove_action( 'admin_color_scheme_picker','admin_color_scheme_picker' );
}
Error:
Markdown (GitHub flavored):
Your PHP code changes were rolled back due to an error on line 70 of file wp-content/themes/twentytwentytwo/functions.php. Please fix and try saving again.
syntax error, unexpected token ";"