shopp_account_vieworder

filters the order receipt content displayed on users account page.

add_filter( 'shopp_account_vieworder', [callback] )

@param string $content the order receipt content displayed on users account page.

Description

filters the order receipt content displayed on users account page.

Example

// register filter callback
add_filter('shopp_account_vieworder', 'my_filter');

// create filter function
function my_filter( $content ) {
    // wrap the receipt content in a styled div
    $content = '<div class="receipt">'.$content.'</div>';

    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