Uncaught Error: Remove field
-
If i add to child/functions.php
this function:
function remove_password_strength_meter_from_registration() {
tml_remove_form_field( ‘resetpass’, ‘indicator’ );
tml_remove_form_field( ‘resetpass’, ‘indicator_hint’ );
}
add_action( ‘init’, ‘remove_password_strength_meter_from_registration’ );or this one:
https://docs.thememylogin.com/article/89-adding-a-checkbox-for-gdpr-compliancei get error
Uncaught Error: Call to undefined function tml_remove_form_field() in wp-content/themes/disputo-child/functions.php:33
Stack trace:
#0 wp-includes/class-wp-hook.php(286): remove_password_strength_meter_from_registration(”)
#1 wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(true, Array)
#2 wp-includes/plugin.php(453): WP_Hook->do_action(Array)
#3 wp-settings.php(450): do_action(‘init’)
#4 wp-config.php(91): require_once(‘/home/mysite/p…’)
#5 wp-load.php(37): require_once(‘/home/mysite/p…’)
#6 wp-admin/admin.php(31): require_once(‘/home/mysite/p…’)
#7 wp-admin/theme-editor.php(10): require_once(‘/home/mysite/phow can i solve this?
thank you
The topic ‘Uncaught Error: Remove field’ is closed to new replies.