1. Home
  2. Car Demon Code Docs
  3. Display Filters
  4. cd_disclaimer_text_filter

cd_disclaimer_text_filter

This filter will allow you to change the text of the disclaimer shown on the VDPs (Vehicle Display Pages).

apply_filters( ‘cd_disclaimer_text_filter’, $disclaimer_text );

add_filter( 'cd_disclaimer_text_filter', 'my_disclaimer_text', 10, 1 );
function my_disclaimer_text( $disclaimer_text ) {

    $disclaimer_text = 'Please see dealer for exact vehicle details.';

    return $disclaimer_text;
}

The above example will replace the vehicle disclaimer with our custom phrase “Please see dealer for exact vehicle details.”

Was this article helpful to you? Yes No

How can we help?