get_the_product_tags

Located in: tagging_functions.php

Functions that call this hook: wpsc_get_the_product_tags()

Arguments Accepted: $tags, $id

Version Introduced: 3.8.9

Description: Filter the tags associated with a certain product ID.

Code in context:

[php highlight=”145″ firstline=”143″]

function wpsc_get_the_product_tags( $id = 0 ) {

$tags = get_the_terms( $id, ‘product_tag’ );

return apply_filters( ‘get_the_product_tags’, $tags, $id );

}

[/php]