Inventory_Presser_Badges::add_carfax()

add_carfax


Description Description

Filter callback that outputs HTML markup that creates a Carfax badge if $vehicle contains Carfax report data.


Top ↑

Return Return

(void)


Top ↑

Source Source

File: includes/class-badges.php

	public function add_carfax() {
		$carfax_html = invp_get_the_carfax_icon_html();
		if ( '' != $carfax_html ) {
			?><div class="carfax-wrapper">
			<?php
				echo $carfax_html;
			?>
</div>
			<?php
		}
	}