Search Documentation

WP Travel Developer Documentation

  1. Home
  2. Docs
  3. WP Travel Developer Documentation
  4. Filters Associated With Cart Page
  5. Filter :wp_travel_cart_success

Filter :wp_travel_cart_success

WP Travel notice for cart update success.

Source

File: /inc/class-ajax.php
Used by: /inc/class-ajax.php

Example:

function prefix_wp_travel_cart_success() {
    return ‘<p> Message here. </p>’;
}
add_filter( 'wp_travel_cart_success', 'prefix_wp_travel_cart_success' );
Was this article helpful to you? Yes No

How can we help?