Car Demon Code Docs

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


Use this filter to modify the display of the “Results Found” section on your vehicle search results page.

apply_filters( ‘cd_results_found_filter’, $results_found, $total_results );

results found

add_filter( 'cd_results_found_filter', 'my_results_found_filter', 10, 1 );
function my_results_found_filter( $content ) {

    $content = '<div class="my_class">' . $content . '</div>';

    return $content;

The example above would wrap the “Results Found” section in a div with a class name of “my_class”.

Was this article helpful to you? Yes No

How can we help?