Search Documentation

WP Travel Developer Documentation

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

Action :wp_travel_settings_after_currency

Fire before WP Travel admin google map api key field in general tab.


File: /inc/admin/views/tabs/tabs-contents/settings/general.php
Used by: /inc/admin/views/tabs/tabs-contents/settings/general.php

$tab, $args


function prefix_wp_travel_settings_after_currency( $tab, $args ) {
    esc_html_e( ‘This is content added using this hook’, ‘text-domain’ );
add_action( 'wp_travel_settings_after_currency', 'prefix_wp_travel_settings_after_currency’ );
Was this article helpful to you? Yes No

How can we help?