Skip to content

Instantly share code, notes, and snippets.

@barrykooij
Created January 21, 2019 12:24
Show Gist options
  • Save barrykooij/e164c81ccdc07aaf0350634f174f78a7 to your computer and use it in GitHub Desktop.
Save barrykooij/e164c81ccdc07aaf0350634f174f78a7 to your computer and use it in GitHub Desktop.
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit;
} // Exit if accessed directly
// use Helper namespace in this class, do not remove
use Never5\WPCarManager\Helper;
?>
<tr>
<th><?php _e( 'VIN', 'wp-car-manager' ); ?></th>
<td><span itemprop="enginePower" class="wpcm-vehicle-data"><?php echo $vehicle->get_power_kw(); ?> <?php echo Helper\Power::label('kw'); ?> (<?php echo $vehicle->get_power_hp(); ?> <?php echo Helper\Power::label('hp'); ?>)</span></td>
</tr>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment