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

cd_after_content_action

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

do_action( ‘cd_after_content_action’ );

add_action( 'cd_after_content_action', 'my_after_action' );
function my_before_action() {

    $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 content is output.

Was this article helpful to you? Yes No

How can we help?