Inventory_Presser_Shortcode_Vin::content( array $atts )
Creates the HTML content of the shortcode
On This Page
Parameters Parameters
- $atts
-
(array) (Required) Shortcode attributes.
Return Return
(string) HTML that renders a vehicle VIN
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'] );
}
Expand full source codeCollapse full source codeView on Github