Car Demon Code Docs

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


This filter will allow you to modify the entire vehicle disclaimer area on the VDPs (Vehicle Display Pages).

NOTE: The area being filtered is an HTML table. The filter has been positioned in between rows in this table. It is suggested that you utilize table HTML as shown in the example below.

apply_filters( ‘cd_disclaimer_filter’, $disclaimer );

add_filter( 'cd_disclaimer_filter', 'my_disclaimer', 10, 1 );
function my_disclaimer( $disclaimer ) {

    $disclaimer = '';

    return $disclaimer;

The above example will replace the entire disclaimer section with an empty string. This will result in no disclaimer being shown on the VDPs (Vehicle Display Pages).

Was this article helpful to you? Yes No

How can we help?