Viewing 1 replies (of 1 total)
  • I use this code, It’s worked perfectly for me

    function filter_ninja_forms_localize_fields( $field ) { 
    
        if( is_array($field['settings']) && array_key_exists("label", $field['settings']) ){
            $field['settings']['label'] = esc_html__( $field['settings']['label'], "keyboardpro"); 
        }
    
        return $field; 
    }
    add_filter( 'ninja_forms_localize_fields', 'filter_ninja_forms_localize_fields', 10, 1 ); 
Viewing 1 replies (of 1 total)
  • The topic ‘translate the labels with wpml’ is closed to new replies.