Site icon Catch Themes

Changes in functions.php doenst seem to work

Running latest WP ver, theme ver at fleksjobbernetvaerket.dk Overall question Sholuden't these below changes to the themes function.php -file work? These three changes/addons to my themes function file, denst seem to have effect on my wp-login.php experience. Is the reason the conding, or the theme? /** Stop login form shake on erroe function my_login_head() { remove_action(‘login_head’, ‘wp_shake_js’, 12); } add_action(‘login_head’, ‘my_login_head’); */ /** Stop login form error msg. function no_wordpress_errors(){ return 'Something is wrong!'; } add_filter( 'login_errors', 'no_wordpress_errors' ) */ /** Stop login form and its lost password function remove_lostpassword_text ( $text ) { if ($text == 'Lost your password?'){$text = '';} return $text; } add_filter( 'gettext', 'remove_lostpassword_text' ); */
Exit mobile version