shopp_order_receipt

filters the content of a sales receipt after rendering the receipt template.

add_filter( 'shopp_order_receipt', [callback] )

@param string $content the content of a sales receipt after rendering the receipt template.

Description

filters the content of a sales receipt after rendering the receipt template.

Example

// register filter callback
add_filter('shopp_order_receipt', 'shopp_order_receipt_fltr');

// create filter function
function shopp_order_receipt_fltr( $content ) {
    $content = esc_html($content);
    return $content;
}

See Also

You must be logged in to post a comment.

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

Skip to toolbar