View Categories

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โ€™ );