Search Documentation

WP Travel Developer Documentation

  1. Home
  2. Docs
  3. WP Travel Developer Documentation
  4. Filters Associated With Payment
  5. Filter :wp_travel_custom_partial_payment_string

Filter :wp_travel_custom_partial_payment_string

WP Travel custom partial payment label.

Active Since v3.0.7

Source

File: /inc/admin/extras/views/tabs/tab-contents/itineraries/price.php
Used by: /inc/admin/extras/views/tabs/tab-contents/itineraries/price.php

Parameters
$custom_partial_payout_string

Example:

function prefix_wp_travel_custom_partial_payment_string(
    $custom_partial_payout_string ) {
    $custom_partial_payout_string = ‘__( 'Partial Payout (MIN)(%)', 'wp-travel' )’;
    return $custom_partial_payout_string;
}
add_filter( 'wp_travel_custom_partial_payment_string', 'prefix_wp_travel_custom_partial_payment_string' );
Was this article helpful to you? Yes No

How can we help?