Inventory_Presser_Shortcode_Vin::content( array $atts )

Creates the HTML content of the shortcode


Parameters Parameters

$atts

(array) (Required) Shortcode attributes.


Top ↑

Return Return

(string) HTML that renders a vehicle VIN


Top ↑

Source Source

File: includes/shortcode/class-shortcode-vin.php

	public function content( $atts ) {
		$atts = shortcode_atts(
			array(
				'id' => null,
			),
			$atts,
			'invp_vin'
		);
		return invp_get_the_vin( $atts['id'] );
	}