Search Documentation

WP Travel Developer Documentation

  1. Home
  2. Docs
  3. WP Travel Developer Documentation
  4. Action Hooks Associated With Account
  5. Action: wp_travel_edit_account_form_start

Action: wp_travel_edit_account_form_start

Fire inside user account edit form but before first name field.

Source

File: /templates/account/form-edit-account.php
Used by: /templates/account/form-edit-account.php

Example:

function prefix_wp_travel_edit_account_form_start() {
  esc_html_e( ‘This is content added using this hook’, ‘text-domain’ );
}
add_action( ‘wp_travel_edit_account_form_start', 'prefix_wp_travel_edit_account_form_start’ );

Was this article helpful to you? Yes No

How can we help?