Inventory_Presser_Badges::add_carfax()
add_carfax
Contents
Description Description
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 code Collapse full source code View on Github