wpsc_the_product_price_display_price_class

Located in: product-template.php

Functions that call this hook: wpsc_the_product_price_display()

Arguments Accepted: $price_class, $product_id

Version Introduced: 3.8.9

Description: Filter the class for the “Price” span element.

Code in context:

[php firstline=”1996″ highlight=”1996″]

$price_class = apply_filters( ‘wpsc_the_product_price_display_price_class’, esc_attr( $price_class ), $id );

$price_amount_class = apply_filters( ‘wpsc_the_product_price_display_price_amount_class’, esc_attr( $price_amount_class ), $id );

$price_before = sprintf( $price_before, esc_attr( $price_class ) );

$price_amount_before = sprintf( $price_amount_before, esc_attr( $price_amount_class ), esc_attr( $price_amount_id ) );

[/php]