Action Hooks Associated With Billing

Action: wp_travel_before_edit_billing_form #

Fire before the billing edit form.

Source

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

Example:

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

Action: wp_travel_edit_billing_form_start #

Fire inside the billing edit form but before address field.

Source

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

Example:

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

Action: wp_travel_edit_billing_form #

Fire before billing save changes button.

Source

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

Example:

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

Action: wp_travel_edit_billing_form_end #

Fire after billing save changes button.

Source

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

Example:

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

Action: wp_travel_after_edit_billing_form #

Fire after billing edit form.

Source

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

Example:

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