Car Demon Code Docs

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


If you have enabled the auto load inventory on page scroll then you might want to change the “loading” image that shows before the next page of inventory loads.

Load More Vehicles Image

Using this filter you can change that loading image to anything you want.


apply_filters( ‘cd_load_more_filter’, $load_more );

add_filter( 'cd_load_more_filter', 'my_load_more', 10, 1 );
function my_load_more( $load_more ) {

    $new_image = '';

    return $new_image;

The above code will change the default “Loading More Vehicles” image to use the one found at

Was this article helpful to you? Yes No

How can we help?