Car Demon Code Docs

  1. Home
  2. Car Demon Code Docs
  3. Actions
  4. cd_after_content_srp_action


This action is called after the content for the vehicle SRPs (Search Results Pages) and VDPs (Vehicle Display Pages).

do_action( ‘cd_after_content_srp_action’, $params );


$params – These are any shortcode parameters that were used to display the SRP.

add_action( 'cd_after_content_srp_action', 'my_after_srp_action', 10, 1 );
function my_after_srp_action( $params ) {

    $html = 'Show this after the vehicle content.';

    echo $html;


The example above will output the phrase “Show this after the vehicle content” right after the SRP content is output.

Was this article helpful to you? Yes No

How can we help?