Description
Displays or returns the sku of the current product. This tag must be within The Loop.
Usage
<?php tcp_the_sku( $before, $after, $echo ); ?>
Parameters
- $before
- (string) Text to place before the sku. Defaults to ''.
- $after
- (string) Text to place after the sku. Defaults to ''.
- $echo
- (Boolean) Display the sku (true) or return it for use in PHP (false). Defaults to true.