shopp_product_description

filters the product description on the storefront output by the shopp(‘product’,’description’) tag.

add_filter( 'shopp_product_description', [callback] )

@param string $text the product description on the storefront output by the shopp('product','description') tag.

Description

filters the product description on the storefront output by the shopp(‘product’,’description’) tag.

Example

// register filter callbacks
add_filter('shopp_product_description', 'wptexturize');
add_filter('shopp_product_description', 'convert_chars');
add_filter('shopp_product_description', 'wpautop');
add_filter('shopp_product_description', 'do_shortcode', 11); // AFTER wpautop()
add_filter('shopp_product_description', 'esc_html', 12); // esc_html after shortcode processing

See Also

You must be logged in to post a comment.

© Ingenesis Limited. Shopp™ is a registered trademark of Ingenesis Limited.

Skip to toolbar