Inventory_Presser_Badges::add_carfax()
Filter callback that outputs HTML markup that creates a Carfax badge if $vehicle contains Carfax report data.
Return Return
(void)
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
}
}
Expand full source codeCollapse full source codeView on Github