title: How to remove last name field in account detail ? (not checkout field)
body: <p>I’d like to remove the last name filed in account details page.I try to edit form-edit-account.php file and delete the last name field.It removed, but I can’t save it. There is a message “the last name is a required field” .How to remove it?
  I try hook, but it didn't work.</p>
  
  <pre><code>add_filter( 'woocommerce_billing_fields' , 'remove_billing_fields' );
  function remove_billing_fields( $fields ) {
           unset($fields['billing_last_name']);
           return $fields;
  }
  </code></pre>